aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/Bruteforce/ThrottlerTest.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-08-16 17:40:38 +0200
committerJoas Schilling <coding@schilljs.com>2023-08-21 16:40:24 +0200
commit124588d4a64f518aef9270002e72c3604ddb3077 (patch)
tree6de1383e2ec21fb17fd9e908ab7638932617a681 /tests/lib/Security/Bruteforce/ThrottlerTest.php
parentb2fd283a300d0c5b260d50bbf6ab7574b24dafe9 (diff)
downloadnextcloud-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.php2
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])
);
}