Skip to content

Commit 081dcf1

Browse files
committed
Use helper method
1 parent 8d0011e commit 081dcf1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Unit/Macros/LocalizedRoutesMacroTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ public function it_registers_a_root_route_for_each_locale()
6262
public function it_registers_a_url_without_prefix_for_a_configured_main_locale()
6363
{
6464
$this->setSupportedLocales(['en', 'nl']);
65-
66-
Config::set('localized-routes.omit_url_prefix_for_locale', 'en');
65+
$this->setOmitUrlPrefixForLocale('en');
6766

6867
Route::localized(function () {
6968
Route::get('about', function () {})

0 commit comments

Comments
 (0)