Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Security/HasherTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/Security/HasherTest.php b/tests/lib/Security/HasherTest.php
index e680efb19b6..598139736ff 100644
--- a/tests/lib/Security/HasherTest.php
+++ b/tests/lib/Security/HasherTest.php
@@ -102,6 +102,11 @@ class HasherTest extends \Test\TestCase {
$this->config = $this->createMock(IConfig::class);
+ $this->config->method('getSystemValueInt')
+ ->willReturnCallback(function ($name, $default) {
+ return $default;
+ });
+
$this->hasher = new Hasher($this->config);
}