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:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-05-01 15:43:26 +0300
committerGitHub <noreply@github.com>2020-05-01 15:43:26 +0300
commitde43edca3b3e7694eb3116d8aec9858b3c469b18 (patch)
tree2f7ad83cf201b320b84ee1c706c7ac9c8bcb5492 /tests
parent78dbf5df85b563664f532957df972b2185942d11 (diff)
parente5f1523577dc027621092d95166f20fcee95cf96 (diff)
Merge pull request #20763 from nextcloud/backport/20710/stable18
[stable18] Fix Argon2 options checks
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);
}