From 372f3d2a60dee056b2012f320d9bf220a8758c58 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 7 Dec 2018 13:32:08 +0100 Subject: Remove deprecated functions from SecureRandom Signed-off-by: Roeland Jago Douma --- apps/encryption/tests/Crypto/EncryptAllTest.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/encryption/tests') 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'); -- cgit v1.2.3