Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/updatenotification/tests/controller/AdminControllerTest.php')
-rw-r--r--apps/updatenotification/tests/controller/AdminControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/tests/controller/AdminControllerTest.php b/apps/updatenotification/tests/controller/AdminControllerTest.php
index 01801626000..5a0f9d21469 100644
--- a/apps/updatenotification/tests/controller/AdminControllerTest.php
+++ b/apps/updatenotification/tests/controller/AdminControllerTest.php
@@ -77,12 +77,12 @@ class AdminControllerTest extends TestCase {
$this->secureRandom
->expects($this->once())
->method('generate')
- ->with(32)
+ ->with(64)
->willReturn('MyGeneratedToken');
$this->config
->expects($this->once())
->method('setSystemValue')
- ->with('updater.secret', 'MyGeneratedToken');
+ ->with('updater.secret');
$this->timeFactory
->expects($this->once())
->method('getTime')