fix(SitemapSubscriber): Corrige génération URL absolue

This commit is contained in:
Serreau Jovann
2025-07-16 14:50:51 +02:00
parent af6502f139
commit e37110d9a7
5 changed files with 3 additions and 44 deletions

View File

@@ -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');
}
}

View File

@@ -17,7 +17,6 @@ class HomeControllerTest extends WebTestCase
// Validate a successful response and some content
$this->assertResponseIsSuccessful();
$this->assertResponseHeaderSame('Content-Type', 'application/json');
}
}