Skip to content

Commit 0848c2b

Browse files
Nyholmfabpot
authored andcommitted
[RateLimiter] Moved classes implementing LimiterInterface to a new namespace
1 parent 2e66130 commit 0848c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/EventListener/LoginThrottlingListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ protected function setUp(): void
3737

3838
$localLimiter = new RateLimiterFactory([
3939
'id' => 'login',
40-
'strategy' => 'fixed_window',
40+
'policy' => 'fixed_window',
4141
'limit' => 3,
4242
'interval' => '1 minute',
4343
], new InMemoryStorage());
4444
$globalLimiter = new RateLimiterFactory([
4545
'id' => 'login',
46-
'strategy' => 'fixed_window',
46+
'policy' => 'fixed_window',
4747
'limit' => 6,
4848
'interval' => '1 minute',
4949
], new InMemoryStorage());

0 commit comments

Comments
 (0)