Fixed namespace
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
6c47f1c07f
commit
7120b19d3b
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Feature\Authentication;
|
namespace Tests\Feature\Authentication;
|
||||||
|
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
@ -32,7 +32,6 @@ class LoginTest extends TestCase
|
||||||
public function testLoginThrottleConfigIsRespected()
|
public function testLoginThrottleConfigIsRespected()
|
||||||
{
|
{
|
||||||
|
|
||||||
// Why do we need this? The app should already be set up
|
|
||||||
User::factory()->create(['username' => 'username_here']);
|
User::factory()->create(['username' => 'username_here']);
|
||||||
|
|
||||||
config(['auth.passwords.users.throttle.max_attempts' => 1]);
|
config(['auth.passwords.users.throttle.max_attempts' => 1]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue