Merge pull request #26659 from nextcloud/bugfix/noid/fix-updatenotification-test
Fix update notification tests
This commit is contained in:
commit
d34d3d168d
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue