diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-04-20 21:43:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 21:43:56 +0300 |
commit | d34d3d168d9ceab5e56fa49f7a378dd2329a8ebe (patch) | |
tree | 8a23c01b2484d3cd95e5c50282ee5df1e1d4a9a3 /apps | |
parent | 1e767b4f4466b9b57bfeafb44594013ac244c843 (diff) | |
parent | 42140ab53fb391b8103f44b3216682f43db874fe (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.php | 3 |
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()) |