From a045a5750cc31fe50ad655e148a05ec9658afb28 Mon Sep 17 00:00:00 2001 From: Daniel Polito Date: Tue, 26 Jan 2021 15:47:16 -0300 Subject: [PATCH] FIx Log Level test --- tests/MiddlewareTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/MiddlewareTest.php b/tests/MiddlewareTest.php index e18463c..77417a8 100644 --- a/tests/MiddlewareTest.php +++ b/tests/MiddlewareTest.php @@ -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');