Skip to content

Commit 035b799

Browse files
Merge pull request antonioribeiro#184 from emargareten/patch-2
Update Google2FaLaravelTest.php
2 parents 0022c64 + db4ba24 commit 035b799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Google2FaLaravelTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Carbon\Carbon;
66
use Illuminate\Http\Request;
77
use Illuminate\Support\Facades\Auth;
8+
use Illuminate\Support\Facades\View;
89
use PragmaRX\Google2FALaravel\Facade as Google2FA;
910
use PragmaRX\Google2FALaravel\Support\Authenticator;
1011
use PragmaRX\Google2FALaravel\Support\Constants as PackageConstants;
@@ -44,7 +45,7 @@ public function setUp(): void
4445
->pushMiddleware('Illuminate\Session\Middleware\StartSession')
4546
->pushMiddleware('Illuminate\View\Middleware\ShareErrorsFromSession::class');
4647

47-
\View::addLocation(__DIR__.'/views');
48+
View::addLocation(__DIR__.'/views');
4849

4950
$this->loginUser();
5051
}

0 commit comments

Comments
 (0)