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
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-04-20 21:43:56 +0300
committerGitHub <noreply@github.com>2021-04-20 21:43:56 +0300
commitd34d3d168d9ceab5e56fa49f7a378dd2329a8ebe (patch)
tree8a23c01b2484d3cd95e5c50282ee5df1e1d4a9a3 /apps
parent1e767b4f4466b9b57bfeafb44594013ac244c843 (diff)
parent42140ab53fb391b8103f44b3216682f43db874fe (diff)
Merge pull request #26659 from nextcloud/bugfix/noid/fix-updatenotification-test
Fix update notification tests
Diffstat (limited to 'apps')
-rw-r--r--apps/updatenotification/tests/Notification/BackgroundJobTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/updatenotification/tests/Notification/BackgroundJobTest.php b/apps/updatenotification/tests/Notification/BackgroundJobTest.php
index 09b1cb06d5a..1d94fba29ed 100644
--- a/apps/updatenotification/tests/Notification/BackgroundJobTest.php
+++ b/apps/updatenotification/tests/Notification/BackgroundJobTest.php
@@ -331,8 +331,7 @@ class BackgroundJobTest extends TestCase {
\call_user_func_array([$mockedMethod, 'withConsecutive'], $userNotifications);
$this->notificationManager->expects($this->exactly(\count($userNotifications)))
- ->method('notify')
- ->willReturn($notification);
+ ->method('notify');
}
$this->notificationManager->expects($this->once())