Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
#89 - cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Sokolowska committed May 11, 2022
1 parent 88dc366 commit 5dd4a7e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/Feature/InviteAdminTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,13 @@ public function testAdminCanSendInvitation(): void

$this->actingAs($this->admin)
->post("/invitation", [
"email" => "[email protected]"
"email" => "[email protected]",
])
->assertSessionHasNoErrors();

Notification::assertSentOnDemand(
InvitationEmailNotification::class,
function ($notification, $channels, $notifiable) {
return $notifiable->routes['mail'] === '[email protected]';
}
fn ($notification, $channels, $notifiable) => $notifiable->routes["mail"] === "[email protected]",
);
}

Expand Down

0 comments on commit 5dd4a7e

Please sign in to comment.