ldc-boutique-cnc-sable/tests/Feature/Bo/AuthTest.php

15 lines
270 B
PHP
Raw Normal View History

2026-06-14 21:32:07 +02:00
<?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'));
});