add tests batch 20

This commit is contained in:
root
2026-06-09 01:03:53 -04:00
parent 95efb9652e
commit 6be4875c5e
1502 changed files with 13797 additions and 11313 deletions
@@ -15,7 +15,7 @@ class StaffCommandServiceTest extends TestCase
public function test_create_requires_user(): void
{
$service = new StaffCommandService(new GlobalConfigService);
$service = new StaffCommandService(new GlobalConfigService());
$this->expectException(\RuntimeException::class);
$service->create([
@@ -44,7 +44,7 @@ class StaffCommandServiceTest extends TestCase
'school_year' => '2025-2026',
]);
$service = new StaffCommandService(new GlobalConfigService);
$service = new StaffCommandService(new GlobalConfigService());
$staff = $service->create([
'user_id' => $user->id,
'firstname' => 'Staff',