diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-07 13:32:08 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-07 19:33:32 +0100 |
commit | 372f3d2a60dee056b2012f320d9bf220a8758c58 (patch) | |
tree | 1b795de0e301ce51c42df95aefef7ee67d7d4651 /tests | |
parent | e54e616de9320be5fbbeb5dd711b49bb2f5e4a1f (diff) | |
download | nextcloud-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 'tests')
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index 0a810730588..80747e1a157 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -1707,8 +1707,6 @@ class ManagerTest extends \Test\TestCase { ->with('password') ->willReturn('hashed'); - $this->secureRandom->method('getMediumStrengthGenerator') - ->will($this->returnSelf()); $this->secureRandom->method('generate') ->willReturn('token'); @@ -1818,8 +1816,6 @@ class ManagerTest extends \Test\TestCase { $manager->expects($this->never()) ->method('setLinkParent'); - $this->secureRandom->method('getMediumStrengthGenerator') - ->will($this->returnSelf()); $this->secureRandom->method('generate') ->willReturn('token'); |