Skip to content

Commit

Permalink
FIx Log Level test
Browse files Browse the repository at this point in the history
  • Loading branch information
dbpolito authored Jan 26, 2021
1 parent a43fd1d commit a045a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/MiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function it_can_allow_optional_request_without_gate_and_log()
return 'yay';
})->name('something.index')->middleware(GateOptional::class);

Log::shouldReceive('warning')
Log::shouldReceive('info')
->with("[fireworkweb/laravel-gates] No matching gate for 'something.index' route.");

$response = $this->get('something');
Expand Down

0 comments on commit a045a57

Please sign in to comment.