Skip to content

Commit

Permalink
remove leading slash and extra brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Sep 7, 2016
1 parent 56c9d91 commit 6cac4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Notifications/NotificationMailChannelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ public function toMail($notifiable)
$mock = Mockery::mock(Illuminate\Contracts\Mail\Mailable::class);

$mock->shouldReceive('send')->once()->with(Mockery::on(function ($mailer) {
if (! ($mailer instanceof \Illuminate\Contracts\Mail\Mailer)) {
if (! $mailer instanceof Illuminate\Contracts\Mail\Mailer) {
return false;
}

Expand Down

0 comments on commit 6cac4df

Please sign in to comment.