Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaOnLine committed Aug 29, 2024
1 parent 63de89d commit bc97596
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/GeneratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public function canGenerateApiJsonFile(): void
->assertSee('my-default-host.com')
->assertSee('getProjectsList')
->assertSee('getClientsList')
->assertSee('Get list of products')
->assertStatus(200);

$config = $this->configFactory->documentationConfig();
Expand All @@ -128,6 +129,7 @@ public function canGenerateApiJsonFile(): void
->assertSee('my-default-host.com')
->assertSee('getProjectsList')
->assertSee('getClientsList')
->assertSee('Get list of products')
->assertStatus(200);
}

Expand Down Expand Up @@ -156,6 +158,7 @@ public function canGenerateWithLegacyExcludedDirectories(): void
->assertSee('L5 Swagger')
->assertSee('my-default-host.com')
->assertSee('getProjectsList')
->assertSee('Get list of products')
->assertDontSee('getClientsList')
->assertStatus(200);
}
Expand Down

0 comments on commit bc97596

Please sign in to comment.