update rm deadcode
This commit is contained in:
@@ -24,14 +24,14 @@ class LoginThrottleTest extends TestCase
|
||||
{
|
||||
for ($i = 0; $i < 5; $i++) {
|
||||
$response = $this->postJson('/api/v1/administrator/login', [
|
||||
'email' => 'nobody@example.com',
|
||||
'username' => 'nobody',
|
||||
'password' => 'wrong-password',
|
||||
]);
|
||||
$this->assertNotSame(429, $response->status());
|
||||
}
|
||||
|
||||
$response = $this->postJson('/api/v1/administrator/login', [
|
||||
'email' => 'nobody@example.com',
|
||||
'username' => 'nobody',
|
||||
'password' => 'wrong-password',
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user