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
@@ -97,7 +97,7 @@ class PreferencesControllerTest extends TestCase
$user = $this->createUser('teacher');
Sanctum::actingAs($user);
$response = $this->deleteJson('/api/v1/preferences/'.$user->id);
$response = $this->deleteJson('/api/v1/preferences/' . $user->id);
$response->assertForbidden();
}
@@ -113,7 +113,7 @@ class PreferencesControllerTest extends TestCase
'notification_sms' => 1,
]);
$response = $this->deleteJson('/api/v1/preferences/'.$admin->id);
$response = $this->deleteJson('/api/v1/preferences/' . $admin->id);
$response->assertOk();
$this->assertDatabaseMissing('user_preferences', [
@@ -146,7 +146,7 @@ class PreferencesControllerTest extends TestCase
'id' => $id,
'firstname' => 'Test',
'lastname' => 'User',
'email' => $roleName.$id.'@example.com',
'email' => $roleName . $id . '@example.com',
'cellphone' => '5555555555',
'address_street' => '123 Main',
'city' => 'City',