fix tests
This commit is contained in:
@@ -16,7 +16,7 @@ class SchoolCalendarMutationServiceTest extends TestCase
|
||||
|
||||
public function test_create_persists_event(): void
|
||||
{
|
||||
$context = new SchoolCalendarContextService();
|
||||
$context = new SchoolCalendarContextService;
|
||||
$notifier = Mockery::mock(SchoolCalendarNotificationService::class);
|
||||
$notifier->shouldReceive('notify')->andReturn([]);
|
||||
|
||||
@@ -47,7 +47,7 @@ class SchoolCalendarMutationServiceTest extends TestCase
|
||||
'notification_sent' => 0,
|
||||
]);
|
||||
|
||||
$context = new SchoolCalendarContextService();
|
||||
$context = new SchoolCalendarContextService;
|
||||
$notifier = Mockery::mock(SchoolCalendarNotificationService::class);
|
||||
$notifier->shouldReceive('notify')->andReturn([]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user