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
@@ -23,7 +23,7 @@ class NotificationManagementServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new NotificationManagementService;
$service = new NotificationManagementService();
$result = $service->update(1, ['title' => 'New']);
$this->assertTrue($result['ok']);
@@ -35,7 +35,7 @@ class NotificationManagementServiceTest extends TestCase
public function test_update_returns_false_when_missing(): void
{
$service = new NotificationManagementService;
$service = new NotificationManagementService();
$result = $service->update(999, ['title' => 'New']);
$this->assertFalse($result['ok']);
@@ -53,7 +53,7 @@ class NotificationManagementServiceTest extends TestCase
'updated_at' => now(),
]);
$service = new NotificationManagementService;
$service = new NotificationManagementService();
$this->assertTrue($service->delete(1));
$this->assertSoftDeleted('notifications', ['id' => 1]);