Fix unit test

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/3895/head
Joas Schilling 9 years ago committed by Roeland Jago Douma
parent 2249c77a06
commit 27e3a977aa
No known key found for this signature in database
GPG Key ID: F941078878347C0C
  1. 2
      apps/updatenotification/tests/Notification/BackgroundJobTest.php

@ -166,7 +166,7 @@ class BackgroundJobTest extends TestCase {
if ($version === null) {
$job->expects($this->never())
->method('createNotifications');
$job->expects($this->never())
$job->expects($versionCheck === null ? $this->never() : $this->once())
->method('clearErrorNotifications');
} else if ($version === false) {
$job->expects($this->never())

Loading…
Cancel
Save