diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/TPParseTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/TPParseTest.php | 6 |
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 ); |