domain-watchdog/tests/Controller/HomeControllerTest.php
2025-12-11 10:53:08 +01:00

18 lines
422 B
PHP

<?php
namespace App\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Symfony\Component\HttpFoundation\Response;
class HomeControllerTest extends WebTestCase
{
public function testConnectSsoReturnNotFound(): void
{
$client = static::createClient();
$client->request('GET', '/login/oauth');
$this->assertResponseStatusCodeSame(Response::HTTP_NOT_FOUND);
}
}