diff options
Diffstat (limited to 'www/wiki/extensions/Translate/tests/phpunit/TPParseTest.php')
-rw-r--r-- | www/wiki/extensions/Translate/tests/phpunit/TPParseTest.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/www/wiki/extensions/Translate/tests/phpunit/TPParseTest.php b/www/wiki/extensions/Translate/tests/phpunit/TPParseTest.php index abfe18e4..d70689b8 100644 --- a/www/wiki/extensions/Translate/tests/phpunit/TPParseTest.php +++ b/www/wiki/extensions/Translate/tests/phpunit/TPParseTest.php @@ -1,14 +1,11 @@ <?php /** - * Unit tests for class TPParse - * * @author Niklas Laxström - * @license GPL-2.0+ + * @license GPL-2.0-or-later * @file */ /** - * Unit tests for class TPParse * @ingroup PageTranslation */ class TPParseTest extends MediaWikiTestCase { @@ -21,7 +18,7 @@ class TPParseTest extends MediaWikiTestCase { $prefix = $title->getPrefixedDBkey() . '/'; $parse = $page->getParse(); - $collection = array(); + $collection = []; $expected = 'Hello peter!'; $actual = $parse->getTranslationPageText( $collection ); |