45
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
public function test_la_racine_redirige_vers_le_portail_agent(): void
|
||||
{
|
||||
$this->get('/')->assertRedirect('/me');
|
||||
}
|
||||
|
||||
public function test_le_portail_exige_une_connexion(): void
|
||||
{
|
||||
$this->get('/me')->assertRedirect('/login');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user