summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php')
-rw-r--r--MLEB/Translate/tests/phpunit/ffs/AmdFFSTest.php18
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 );