fix gitlab tests
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user