feat(directory) : add ReportType enum for commercial reports

This commit is contained in:
Matthieu
2026-06-22 11:39:12 +02:00
parent a18e1f575f
commit bf263f4c63
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace App\Tests\Module\Directory\Domain\Enum;
use App\Module\Directory\Domain\Enum\ReportType;
use PHPUnit\Framework\TestCase;
/**
* @internal
*/
final class ReportTypeTest extends TestCase
{
public function testValuesAndLabels(): void
{
self::assertSame('call', ReportType::Call->value);
self::assertSame('Appel', ReportType::Call->label());
self::assertSame('Rendez-vous', ReportType::Meeting->label());
self::assertSame('Email', ReportType::Email->label());
self::assertSame('Note', ReportType::Note->label());
}
}