diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-05-01 15:43:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 15:43:26 +0300 |
commit | de43edca3b3e7694eb3116d8aec9858b3c469b18 (patch) | |
tree | 2f7ad83cf201b320b84ee1c706c7ac9c8bcb5492 /tests | |
parent | 78dbf5df85b563664f532957df972b2185942d11 (diff) | |
parent | e5f1523577dc027621092d95166f20fcee95cf96 (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.php | 5 |
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); } |