fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -13,7 +13,7 @@ class WhatsappContextServiceTest extends TestCase
public function test_school_year_aliases_generate_expected_values(): void
{
$service = new WhatsappContextService();
$service = new WhatsappContextService;
[$aliases, $canonical, $startYear] = $service->schoolYearAliases('2025/2026');
$this->assertContains('2025-2026', $aliases);
@@ -33,7 +33,7 @@ class WhatsappContextServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new WhatsappContextService();
$service = new WhatsappContextService;
$this->assertTrue($service->hasRosterForYear('2025-2026'));
$this->assertFalse($service->hasRosterForYear('2030-2031'));