Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Dec 2, 2023
1 parent c25d34e commit d543db5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Functional/ExportOpenApiCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function testExportToJson(): void
]);

$tester->assertCommandIsSuccessful();
$this->assertStringContainsString('OpenAPI documentation exported successfully.', $tester->getDisplay());
$this->assertStringContainsString('OpenAPI documentation has been exported successfully.', $tester->getDisplay());

$actual = trim(file_get_contents($filename));
$this->assertSameFileResponseContent($actual, 'doc.json');
Expand All @@ -28,7 +28,7 @@ public function testExportToYaml(): void
]);

$tester->assertCommandIsSuccessful();
$this->assertStringContainsString('OpenAPI documentation exported successfully.', $tester->getDisplay());
$this->assertStringContainsString('OpenAPI documentation has been exported successfully.', $tester->getDisplay());

$actual = trim(file_get_contents($filename));
$expected = trim(file_get_contents(__DIR__.'/App/ExportOpenApiCommand/Output/doc.yaml'));
Expand Down

0 comments on commit d543db5

Please sign in to comment.