Skip to content

Commit 1bb938d

Browse files
committed
Update test
1 parent e6043d2 commit 1bb938d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/NotFoundWhenProductionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testForbiddenInProduction()
2424
public function testHandle()
2525
{
2626
Route::get('middleware', function () {
27-
return 1;
27+
return response()->json([1]);
2828
})->middleware(NotFoundWhenProduction::class);
2929

3030
$this->get('middleware')

0 commit comments

Comments
 (0)