12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
13
tests/Feature/ApiDocumentationTest.php
Normal file
13
tests/Feature/ApiDocumentationTest.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
test('api v1 documentation is publicly available', function () {
|
||||
/** @var TestCase $this */
|
||||
$this->get('/docs/api/v1')
|
||||
->assertOk()
|
||||
->assertHeader('content-type', 'application/yaml; charset=UTF-8')
|
||||
->assertSee('openapi: 3.1.0', false)
|
||||
->assertSee('/press-releases:', false)
|
||||
->assertSee('Legacy API keys are no longer supported.', false);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue