diff options
author | Brian Evans <grknight@gentoo.org> | 2021-07-19 15:20:22 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2021-07-19 15:20:22 -0400 |
commit | 9f092345e6bbecfde8c19e6d1490a6031a35f61f (patch) | |
tree | 2abb2398cd0df686e8608e15097ddc58b8995615 /MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php | |
parent | OAuth: Update for fixes and security (diff) | |
download | extensions-9f092345e6bbecfde8c19e6d1490a6031a35f61f.tar.gz extensions-9f092345e6bbecfde8c19e6d1490a6031a35f61f.tar.bz2 extensions-9f092345e6bbecfde8c19e6d1490a6031a35f61f.zip |
Update to MLEB 2021.06
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php b/MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php index 4d2fb0a6..0bb8ac5f 100644 --- a/MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php +++ b/MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php @@ -8,12 +8,10 @@ * @license GPL-2.0-or-later */ -/** - * @see AmdFFS - */ +/** @covers \AmdFFS */ class AmdFFSTest extends MediaWikiIntegrationTestCase { - public function setUp() : void { + protected function setUp(): void { parent::setUp(); $this->groupConfiguration = [ 'BASIC' => [ @@ -33,13 +31,9 @@ class AmdFFSTest extends MediaWikiIntegrationTestCase { protected $groupConfiguration; - /** - * @dataProvider amdProvider - */ + /** @dataProvider amdProvider */ public function testParsing( $messages, $authors, $file ) { - /** - * @var FileBasedMessageGroup $group - */ + /** @var FileBasedMessageGroup $group */ $group = MessageGroupBase::factory( $this->groupConfiguration ); $ffs = new AmdFFS( $group ); $parsed = $ffs->readFromVariable( $file ); @@ -98,9 +92,7 @@ JS; public function testExport() { $collection = new MockMessageCollectionForExport(); - /** - * @var FileBasedMessageGroup $group - */ + /** @var FileBasedMessageGroup $group */ $group = MessageGroupBase::factory( $this->groupConfiguration ); $ffs = new AmdFFS( $group ); $data = $ffs->writeIntoVariable( $collection ); |