@@ -416,7 +416,7 @@ public function it_returns_a_localized_url_for_a_localized_fallback_route()
416416 'en ' => Route::localizedUrl ('en ' ),
417417 'nl ' => Route::localizedUrl ('nl ' ),
418418 ], 404 );
419- })-> name ( ' 404 ' ) ;
419+ });
420420 });
421421
422422 $ response = $ this ->call ('GET ' , '/nl/non/existing/route ' );
@@ -440,7 +440,7 @@ public function it_returns_a_localized_url_for_a_non_localized_fallback_route_if
440440 'en ' => Route::localizedUrl ('en ' ),
441441 'nl ' => Route::localizedUrl ('nl ' ),
442442 ], 404 );
443- })->middleware (SetLocale::class)-> name ( ' 404 ' ) ;
443+ })->middleware (SetLocale::class);
444444
445445 $ response = $ this ->call ('GET ' , '/nl/non/existing/route ' );
446446 $ response ->assertNotFound ();
@@ -463,7 +463,7 @@ public function it_returns_a_localized_url_for_a_non_localized_fallback_route_if
463463 'en ' => Route::localizedUrl ('en ' ),
464464 'nl ' => Route::localizedUrl ('nl ' ),
465465 ], 404 );
466- })->middleware (SetLocale::class)-> name ( ' 404 ' ) ;
466+ })->middleware (SetLocale::class);
467467
468468 $ response = $ this ->call ('GET ' , '/non/existing/route ' );
469469 $ response ->assertNotFound ();
@@ -487,7 +487,7 @@ public function it_returns_a_localized_url_for_a_non_localized_fallback_route_wh
487487 'en ' => Route::localizedUrl ('en ' ),
488488 'nl ' => Route::localizedUrl ('nl ' ),
489489 ], 404 );
490- })->middleware (SetLocale::class)-> name ( ' 404 ' ) ;
490+ })->middleware (SetLocale::class);
491491
492492 $ response = $ this ->call ('GET ' , '/non/existing/route ' );
493493 $ response ->assertNotFound ();
@@ -513,7 +513,7 @@ public function it_returns_a_localized_url_for_a_non_localized_fallback_route_wh
513513 'en ' => Route::localizedUrl ('en ' ),
514514 'nl ' => Route::localizedUrl ('nl ' ),
515515 ], 404 );
516- })-> name ( ' 404 ' ) ;
516+ });
517517
518518 $ response = $ this ->call ('GET ' , 'http://nl.domain.test/en/non/existing/route ' );
519519 $ response ->assertNotFound ();
0 commit comments