Skip to content

Commit 8085000

Browse files
committed
Test should use middleware
1 parent 9ab0383 commit 8085000

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Unit/Macros/LocalizedUrlMacroTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ public function a_fallback_route_is_not_triggered_when_a_registered_route_throws
407407
public function it_returns_a_localized_url_for_a_localized_fallback_route()
408408
{
409409
$this->setSupportedLocales(['en', 'nl']);
410+
$this->setUseLocaleMiddleware(true);
410411

411412
Route::localized(function () {
412413
Route::fallback(function () {

0 commit comments

Comments
 (0)