Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and actions-user committed Sep 9, 2020
1 parent 742dd0e commit 7218acd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/Commands/DumpChecks.php
Expand Up @@ -33,7 +33,8 @@ protected function getHostsWithChecks(): array
->map(
function (Check $check) {
return $check->type;
})
}
)
->toArray(),
]);
})
Expand Down
3 changes: 2 additions & 1 deletion tests/Commands/ListChecksTest.php
Expand Up @@ -151,7 +151,8 @@ public function addHosts($hostNames, array $healthyChecks = [], array $unhealthy
'last_run_message' => 'check-message',
'custom_properties' => [],
]);
})->merge(collect($unhealthyChecks)
})->merge(
collect($unhealthyChecks)
->map(function (string $checkName) {
return new Check([
'type' => $checkName,
Expand Down
8 changes: 4 additions & 4 deletions tests/Notifications/EventHandlerTest.php
Expand Up @@ -55,12 +55,12 @@ public function it_can_send_a_notifications_for_certain_events(
event(new $eventClass($this->check, ''));

Notification::assertSentTo(
new Notifiable(),
$notificationClass,
function ($notification) {
new Notifiable(),
$notificationClass,
function ($notification) {
return $notification->event->check->id == $this->check->id;
}
);
);
}

public function eventClassDataProvider(): array
Expand Down

0 comments on commit 7218acd

Please sign in to comment.