domain-watchdog/tests/Controller/HomeControllerTest.php

18 lines
422 B
PHP
Raw Normal View History

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