Fix unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
2249c77a06
commit
27e3a977aa
|
@ -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…
Reference in New Issue