chore: code styling via pint
This commit is contained in:
@@ -91,7 +91,7 @@ class LoginTest extends TestCase
|
||||
public function it_handles_rate_limiting()
|
||||
{
|
||||
// Clear any existing rate limit attempts
|
||||
RateLimiter::clear('login:' . request()->ip());
|
||||
RateLimiter::clear('login:'.request()->ip());
|
||||
|
||||
// Exceed the rate limit (5 attempts by default)
|
||||
for ($i = 0; $i < 6; $i++) {
|
||||
@@ -124,7 +124,7 @@ class LoginTest extends TestCase
|
||||
public function it_handles_lockout_event()
|
||||
{
|
||||
// Clear any existing rate limit attempts
|
||||
RateLimiter::clear('login:' . request()->ip());
|
||||
RateLimiter::clear('login:'.request()->ip());
|
||||
|
||||
// Exceed the rate limit to trigger lockout
|
||||
for ($i = 0; $i < 6; $i++) {
|
||||
@@ -170,4 +170,4 @@ class LoginTest extends TestCase
|
||||
|
||||
$this->assertAuthenticatedAs($this->user);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user