fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -99,7 +99,7 @@ class StaffControllerTest extends TestCase
'school_year' => '2025-2026',
]);
$response = $this->patchJson('/api/v1/staff/'.$staff->id, [
$response = $this->patchJson('/api/v1/staff/' . $staff->id, [
'firstname' => 'Updated',
]);
@@ -127,7 +127,7 @@ class StaffControllerTest extends TestCase
'school_year' => '2025-2026',
]);
$response = $this->deleteJson('/api/v1/staff/'.$staff->id);
$response = $this->deleteJson('/api/v1/staff/' . $staff->id);
$response->assertOk();
$this->assertDatabaseMissing('staff', [
@@ -146,7 +146,7 @@ class StaffControllerTest extends TestCase
$user = User::query()->create([
'firstname' => 'Test',
'lastname' => 'User',
'email' => $email ?? ($roleName.'@example.com'),
'email' => $email ?? ($roleName . '@example.com'),
'cellphone' => '5555555555',
'address_street' => '123 Main',
'city' => 'City',