Merge pull request #26659 from nextcloud/bugfix/noid/fix-updatenotification-test

Fix update notification tests
This commit is contained in:
Roeland Jago Douma 2021-04-20 20:43:56 +02:00 committed by GitHub
commit d34d3d168d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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())