Record verified FNA SEO release and repair health smoke test
This commit is contained in:
1 parent
7c11ca77bc
commit
fa2bc2dafe
6 files changed
+191
-57
No files matched your search
Executable → Regular
+5
-8
@@ -2,18 +2,15 @@
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
// use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Tests\TestCase;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* A basic test example.
|
||||
*/
|
||||
public function test_the_application_returns_a_successful_response(): void
|
||||
public function test_health_endpoint_boots_without_content_and_stays_out_of_search(): void
|
||||
{
|
||||
$response = $this->get('/');
|
||||
|
||||
$response->assertStatus(200);
|
||||
// Homepage content has its own fixtures and tests in SeoContractTest.
|
||||
$this->get('/up')
|
||||
->assertOk()
|
||||
->assertHeader('X-Robots-Tag', 'noindex, nofollow');
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user