fix tests
This commit is contained in:
@@ -19,7 +19,7 @@ class NotificationReadServiceTest extends TestCase
|
||||
'is_read' => 0,
|
||||
]);
|
||||
|
||||
$service = new NotificationReadService();
|
||||
$service = new NotificationReadService;
|
||||
$result = $service->markRead(1, 1);
|
||||
|
||||
$this->assertTrue($result);
|
||||
@@ -32,7 +32,7 @@ class NotificationReadServiceTest extends TestCase
|
||||
|
||||
public function test_mark_read_returns_false_when_missing(): void
|
||||
{
|
||||
$service = new NotificationReadService();
|
||||
$service = new NotificationReadService;
|
||||
|
||||
$this->assertFalse($service->markRead(1, 99));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user