Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
kitloong committed Mar 3, 2023
1 parent e6043d2 commit 1bb938d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/NotFoundWhenProductionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function testForbiddenInProduction()
public function testHandle()
{
Route::get('middleware', function () {
return 1;
return response()->json([1]);
})->middleware(NotFoundWhenProduction::class);

$this->get('middleware')
Expand Down

0 comments on commit 1bb938d

Please sign in to comment.