fix(SitemapSubscriber): Corrige génération URL absolue
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Tests\Controller\Artemis;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
class SecurityControllerTest extends WebTestCase
|
||||
{
|
||||
public function testLogin(): void
|
||||
{
|
||||
$client = static::createClient();
|
||||
|
||||
// Request a specific page
|
||||
$crawler = $client->request('GET', '/artemis');
|
||||
|
||||
// Validate a successful response and some content
|
||||
$this->assertResponseIsSuccessful();
|
||||
$this->assertResponseHeaderSame('Content-Type', 'application/json');
|
||||
|
||||
}
|
||||
}
|
||||
@@ -17,7 +17,6 @@ class HomeControllerTest extends WebTestCase
|
||||
|
||||
// Validate a successful response and some content
|
||||
$this->assertResponseIsSuccessful();
|
||||
$this->assertResponseHeaderSame('Content-Type', 'application/json');
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user