summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-11-20 10:51:06 -0500
committerBrian Evans <grknight@gentoo.org>2018-11-20 10:51:06 -0500
commit1ea74fa59d8d1c6c12d20be6c8e7d5ac7f370fdb (patch)
treead113bd05db878a61b503938c05fe046eca25ee0 /MLEB/Translate/tests/phpunit/TPParseTest.php
parentLinkAttributes: Update to v0.2 (diff)
downloadextensions-1ea74fa59d8d1c6c12d20be6c8e7d5ac7f370fdb.tar.gz
extensions-1ea74fa59d8d1c6c12d20be6c8e7d5ac7f370fdb.tar.bz2
extensions-1ea74fa59d8d1c6c12d20be6c8e7d5ac7f370fdb.zip
Update to MediaWikiLanguageExtensionBundle-2018.10
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/tests/phpunit/TPParseTest.php')
-rw-r--r--MLEB/Translate/tests/phpunit/TPParseTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/MLEB/Translate/tests/phpunit/TPParseTest.php b/MLEB/Translate/tests/phpunit/TPParseTest.php
index f5a9f385..8ee4a8e6 100644
--- a/MLEB/Translate/tests/phpunit/TPParseTest.php
+++ b/MLEB/Translate/tests/phpunit/TPParseTest.php
@@ -3,7 +3,7 @@
* Unit tests for class TPParse
*
* @author Niklas Laxström
- * @license GPL-2.0+
+ * @license GPL-2.0-or-later
* @file
*/
@@ -18,10 +18,10 @@ class TPParseTest extends MediaWikiTestCase {
$title,
'<translate>Hello <tvar|abc>peter!</></translate>'
);
- $prefix = $title->getPrefixedDBKey() . '/';
+ $prefix = $title->getPrefixedDBkey() . '/';
$parse = $page->getParse();
- $collection = array();
+ $collection = [];
$expected = 'Hello peter!';
$actual = $parse->getTranslationPageText( $collection );