diff options
author | Joas Schilling <coding@schilljs.com> | 2023-08-16 17:40:38 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-08-21 16:40:24 +0200 |
commit | 124588d4a64f518aef9270002e72c3604ddb3077 (patch) | |
tree | 6de1383e2ec21fb17fd9e908ab7638932617a681 /tests/lib/Security/Bruteforce/ThrottlerTest.php | |
parent | b2fd283a300d0c5b260d50bbf6ab7574b24dafe9 (diff) | |
download | nextcloud-server-124588d4a64f518aef9270002e72c3604ddb3077.tar.gz nextcloud-server-124588d4a64f518aef9270002e72c3604ddb3077.zip |
fix: Make bypass function public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Security/Bruteforce/ThrottlerTest.php')
-rw-r--r-- | tests/lib/Security/Bruteforce/ThrottlerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Security/Bruteforce/ThrottlerTest.php b/tests/lib/Security/Bruteforce/ThrottlerTest.php index e7fd12645e1..e368a0912b1 100644 --- a/tests/lib/Security/Bruteforce/ThrottlerTest.php +++ b/tests/lib/Security/Bruteforce/ThrottlerTest.php @@ -185,7 +185,7 @@ class ThrottlerTest extends TestCase { $this->assertSame( ($enabled === false) ? true : $isWhiteListed, - self::invokePrivate($this->throttler, 'isIPWhitelisted', [$ip]) + self::invokePrivate($this->throttler, 'isBypassListed', [$ip]) ); } |