add test batches

This commit is contained in:
root
2026-06-08 23:45:55 -04:00
parent c792b8be05
commit 8d4d610b82
1480 changed files with 22587 additions and 10762 deletions
@@ -26,7 +26,7 @@ class EventChargeQueryServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new EventChargeQueryService;
$service = new EventChargeQueryService();
$result = $service->list(['per_page' => 10, 'page' => 1]);
$this->assertSame(1, $result['pagination']['total']);
@@ -38,7 +38,7 @@ class EventListServiceTest extends TestCase
],
]);
$service = new EventListService;
$service = new EventListService();
$result = $service->list(['active' => true, 'per_page' => 10]);
$this->assertSame(1, $result['pagination']['total']);
@@ -31,7 +31,7 @@ class EventStudentChargeServiceTest extends TestCase
'semester' => 'Fall',
]);
$service = new EventStudentChargeService;
$service = new EventStudentChargeService();
$rows = $service->listStudentsWithCharges(10, '2025-2026', 'Fall');
$this->assertTrue($rows[0]['charged']);