diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/BlackListTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/BlackListTest.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/MLEB/Translate/tests/phpunit/BlackListTest.php b/MLEB/Translate/tests/phpunit/BlackListTest.php index 861f95b9..833b8f8e 100644 --- a/MLEB/Translate/tests/phpunit/BlackListTest.php +++ b/MLEB/Translate/tests/phpunit/BlackListTest.php @@ -1,7 +1,5 @@ <?php /** - * Unit tests. - * * @file * @author Santhosh Thottingal * @copyright Copyright © 2012-2013, Santhosh Thottingal @@ -20,24 +18,24 @@ class BlackListTest extends MediaWikiTestCase { protected $codes; protected $groupConfiguration = [ 'BASIC' => [ - 'class' => 'FileBasedMessageGroup', + 'class' => FileBasedMessageGroup::class, 'id' => 'test-id', 'label' => 'Test Label', 'namespace' => 'NS_MEDIAWIKI', 'description' => 'Test description', ], 'FILES' => [ - 'class' => 'TestFFS', + 'class' => TestFFS::class, ], ]; - protected function setUp() { + protected function setUp() : void { parent::setUp(); $this->group = MessageGroupBase::factory( $this->groupConfiguration ); $this->codes = array_flip( array_keys( TranslateUtils::getLanguageNames( 'en' ) ) ); } - protected function tearDown() { + protected function tearDown() : void { unset( $this->group ); parent::tearDown(); } |