summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-12-07 13:32:08 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-07 19:33:32 +0100
commit372f3d2a60dee056b2012f320d9bf220a8758c58 (patch)
tree1b795de0e301ce51c42df95aefef7ee67d7d4651 /apps/encryption
parente54e616de9320be5fbbeb5dd711b49bb2f5e4a1f (diff)
downloadnextcloud-server-372f3d2a60dee056b2012f320d9bf220a8758c58.tar.gz
nextcloud-server-372f3d2a60dee056b2012f320d9bf220a8758c58.zip
Remove deprecated functions from SecureRandom
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/tests/Crypto/EncryptAllTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/encryption/tests/Crypto/EncryptAllTest.php b/apps/encryption/tests/Crypto/EncryptAllTest.php
index 647b951a0a6..af9b2eae307 100644
--- a/apps/encryption/tests/Crypto/EncryptAllTest.php
+++ b/apps/encryption/tests/Crypto/EncryptAllTest.php
@@ -126,8 +126,6 @@ class EncryptAllTest extends TestCase {
$this->userInterface->expects($this->any())->method('getUsers')->willReturn(['user1', 'user2']);
$this->secureRandom = $this->getMockBuilder(ISecureRandom::class)->disableOriginalConstructor()->getMock();
- $this->secureRandom->expects($this->any())->method('getMediumStrengthGenerator')->willReturn($this->secureRandom);
- $this->secureRandom->expects($this->any())->method('getLowStrengthGenerator')->willReturn($this->secureRandom);
$this->secureRandom->expects($this->any())->method('generate')->willReturn('12345678');