Skip to content

Commit

Permalink
improve vacriable names
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Apr 18, 2021
1 parent 387064b commit acb2581
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/Console/Command/ListSetsCommandTest.php
Expand Up @@ -30,10 +30,11 @@ public function testListWithTxtFormat()
'--format' => 'txt',
]);

$resultText = $commandTester->getDisplay();
$resultRaw = $commandTester->getDisplay();

$expectedResultStart = ' 1) @DoctrineAnnotation
Rules covering Doctrine annotations';
static::assertStringStartsWith($expectedResultStart, $resultText);
static::assertStringStartsWith($expectedResultStart, $resultRaw);
static::assertSame(0, $commandTester->getStatusCode());
}

Expand All @@ -43,9 +44,9 @@ public function testListWithJsonFormat()
'--format' => 'json',
]);

$resultText = $commandTester->getDisplay();
$resultRaw = $commandTester->getDisplay();

static::assertJson($resultText);
static::assertJson($resultRaw);
static::assertSame(0, $commandTester->getStatusCode());
}

Expand Down

0 comments on commit acb2581

Please sign in to comment.