mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 09:45:29 +00:00
18 lines
422 B
PHP
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);
|
|
}
|
|
}
|