Skip to content

Commit 5866f03

Browse files
committed
mock
1 parent 9071bbc commit 5866f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/Jobs/UpdateSiteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ function ($method) use ($responses) {
217217
}
218218

219219
$siteMock = $this->getMockBuilder(Site::class)
220-
->onlyMethods(['getConnectionAttribute', 'getFrontendStatus', 'updates'])
220+
->onlyMethods(['getConnectionAttribute', 'getFrontendStatus', 'getUpdateCount', 'updates'])
221221
->getMock();
222222

223223
$siteMock->method('updates')->willReturn($updateMock);

0 commit comments

Comments
 (0)