add tests batch 20
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user