Test on index controller
This commit is contained in:
parent
86ef5fa6f6
commit
9cc8dc83f3
|
|
@ -88,5 +88,12 @@ class IndexControllerTest extends AbstractFunctionalTest
|
||||||
$this->client->followRedirect();
|
$this->client->followRedirect();
|
||||||
self::assertResponseIsSuccessful();
|
self::assertResponseIsSuccessful();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[Test]
|
||||||
|
public function test_index_unauthenticated(): void
|
||||||
|
{
|
||||||
|
$this->client->request('GET', '/');
|
||||||
|
self::assertResponseRedirects('/login');
|
||||||
|
}
|
||||||
//endregion
|
//endregion
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue