diff --git a/tests/Feature/Auth/TwoFactorLogoutSessionTest.php b/tests/Feature/Auth/TwoFactorLogoutSessionTest.php index be80fec19..18e62b0dc 100644 --- a/tests/Feature/Auth/TwoFactorLogoutSessionTest.php +++ b/tests/Feature/Auth/TwoFactorLogoutSessionTest.php @@ -2,6 +2,7 @@ use App\Models\User; use Illuminate\Foundation\Testing\LazilyRefreshDatabase; +use Illuminate\Routing\Middleware\ThrottleRequests; use PragmaRX\Google2FA\Google2FA; uses(LazilyRefreshDatabase::class); @@ -19,7 +20,7 @@ uses(LazilyRefreshDatabase::class); */ beforeEach(function () { - $this->withoutMiddleware(\Illuminate\Routing\Middleware\ThrottleRequests::class); + $this->withoutMiddleware(ThrottleRequests::class); }); it('clears the 2fa.session.active flag when forced logout occurs', function () { diff --git a/tests/Feature/Console/StatusDedupeTest.php b/tests/Feature/Console/StatusDedupeTest.php index c0c7025be..53c43be36 100644 --- a/tests/Feature/Console/StatusDedupeTest.php +++ b/tests/Feature/Console/StatusDedupeTest.php @@ -5,7 +5,6 @@ use App\Models\Status; use App\Models\User; use Illuminate\Foundation\Testing\LazilyRefreshDatabase; use Illuminate\Support\Facades\Bus; -use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; uses(LazilyRefreshDatabase::class); diff --git a/tests/Feature/Federation/AuthorizeInteractionRedirectTest.php b/tests/Feature/Federation/AuthorizeInteractionRedirectTest.php index 00ddfa7cd..6013b6855 100644 --- a/tests/Feature/Federation/AuthorizeInteractionRedirectTest.php +++ b/tests/Feature/Federation/AuthorizeInteractionRedirectTest.php @@ -1,6 +1,5 @@