14 lines
270 B
PHP
14 lines
270 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
it('Should required login to access backoffice', function (): void {
|
|
// GIVEN
|
|
$route = route('bo.dashboard');
|
|
|
|
// WHEN
|
|
$reponse = $this->get($route);
|
|
|
|
// THEN
|
|
$reponse->assertRedirect(route('bo.auth.login'));
|
|
});
|