summaryrefslogtreecommitdiffstats
path: root/tests
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 /tests
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 'tests')
-rw-r--r--tests/lib/Share20/ManagerTest.php4
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');