- 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>
41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Tests\Repository;
|
|
|
|
use App\Entity\MessengerLog;
|
|
use App\Repository\MessengerLogRepository;
|
|
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
|
|
|
class MessengerLogRepositoryTest extends KernelTestCase
|
|
{
|
|
public function testRepositoryIsRegistered(): void
|
|
{
|
|
self::bootKernel();
|
|
$repository = static::getContainer()->get(MessengerLogRepository::class);
|
|
|
|
self::assertInstanceOf(MessengerLogRepository::class, $repository);
|
|
}
|
|
|
|
public function testPersistAndFind(): void
|
|
{
|
|
self::bootKernel();
|
|
$em = static::getContainer()->get('doctrine.orm.entity_manager');
|
|
|
|
$log = new MessengerLog(
|
|
messageClass: 'App\Message\TestMessage',
|
|
messageBody: 'serialized',
|
|
errorMessage: 'Test error',
|
|
stackTrace: 'trace',
|
|
transportName: 'async',
|
|
retryCount: 1,
|
|
);
|
|
|
|
$em->persist($log);
|
|
$em->flush();
|
|
|
|
$found = $em->getRepository(MessengerLog::class)->find($log->getId());
|
|
self::assertNotNull($found);
|
|
self::assertSame('App\Message\TestMessage', $found->getMessageClass());
|
|
}
|
|
}
|