20 lines
381 B
PHP
20 lines
381 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Tests\Feature;
|
||
|
|
|
||
|
|
describe('Home Page', function (): void {
|
||
|
|
it('returns a successful response for the root URL', function (): void {
|
||
|
|
// GIVEN
|
||
|
|
/** @var \Tests\TestCase $test */
|
||
|
|
$test = $this;
|
||
|
|
|
||
|
|
// WHEN
|
||
|
|
$response = $test->get('/');
|
||
|
|
|
||
|
|
// THEN
|
||
|
|
$response->assertStatus(200);
|
||
|
|
});
|
||
|
|
});
|