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