- Homepage: hero, how it works (buyer/organizer), features, CTA
- Tarifs: 3 plans (Gratuit, Basique 10€, Sur-mesure), JSON-LD Product
- Legal pages: mentions legales, CGU (tabs buyer/organizer), CGV, RGPD, cookies, hosting
- Navbar: neubrutalism style, logo liip, mobile menu, SEO attributes
- Footer: contact, description, legal links, tarifs
- Sitemap: add /tarifs and /sitemap-orgas-{page}.xml
- Liip Imagine: remove S3, webp format on all filters
- Tests: full coverage for all controllers, services, repositories
- Fix CSP: replace inline onclick with data-tab JS
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
57 lines
1.2 KiB
PHP
57 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace App\Tests\Controller;
|
|
|
|
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
class LegalControllerTest extends WebTestCase
|
|
{
|
|
public function testMentionsLegales(): void
|
|
{
|
|
$client = static::createClient();
|
|
$client->request('GET', '/mentions-legales');
|
|
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
|
|
public function testCgu(): void
|
|
{
|
|
$client = static::createClient();
|
|
$client->request('GET', '/cgu');
|
|
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
|
|
public function testCgv(): void
|
|
{
|
|
$client = static::createClient();
|
|
$client->request('GET', '/cgv');
|
|
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
|
|
public function testHosting(): void
|
|
{
|
|
$client = static::createClient();
|
|
$client->request('GET', '/hebergement');
|
|
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
|
|
public function testCookies(): void
|
|
{
|
|
$client = static::createClient();
|
|
$client->request('GET', '/cookies');
|
|
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
|
|
public function testRgpd(): void
|
|
{
|
|
$client = static::createClient();
|
|
$client->request('GET', '/rgpd');
|
|
|
|
self::assertResponseIsSuccessful();
|
|
}
|
|
}
|