diff options
author | Joas Schilling <coding@schilljs.com> | 2021-07-16 16:55:23 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-07-16 16:58:09 +0200 |
commit | 9b128d823b816c71348f4580b2c00247ee8fa1ec (patch) | |
tree | 9a130ee46cfad4e83e0ba416e4adc5b433a71c56 /apps/updatenotification/tests | |
parent | 2766df9764bd04250492c561ef24a271a7d03bea (diff) | |
download | nextcloud-server-9b128d823b816c71348f4580b2c00247ee8fa1ec.tar.gz nextcloud-server-9b128d823b816c71348f4580b2c00247ee8fa1ec.zip |
Jitter the requests to the appstore and updater server over 3 minutes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/updatenotification/tests')
-rw-r--r-- | apps/updatenotification/tests/Notification/BackgroundJobTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/updatenotification/tests/Notification/BackgroundJobTest.php b/apps/updatenotification/tests/Notification/BackgroundJobTest.php index 43b22728d28..d4d7a543e56 100644 --- a/apps/updatenotification/tests/Notification/BackgroundJobTest.php +++ b/apps/updatenotification/tests/Notification/BackgroundJobTest.php @@ -107,6 +107,10 @@ class BackgroundJobTest extends TestCase { $job->expects($this->once()) ->method('checkAppUpdates'); + $this->config->method('getSystemValueBool') + ->with('debug', false) + ->willReturn(true); + self::invokePrivate($job, 'run', [null]); } |