mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
Remove references to removed functions in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
d5c9d6037f
commit
19aaaad8df
1 changed files with 0 additions and 9 deletions
|
|
@ -122,7 +122,6 @@ class CheckSetupControllerTest extends TestCase {
|
|||
$this->setupCheckManager,
|
||||
])
|
||||
->setMethods([
|
||||
'getLastCronInfo',
|
||||
'getCurlVersion',
|
||||
'isPhpOutdated',
|
||||
'isPHPMailerUsed',
|
||||
|
|
@ -152,14 +151,6 @@ class CheckSetupControllerTest extends TestCase {
|
|||
->method('getHeader');
|
||||
$this->clientService->expects($this->never())
|
||||
->method('newClient');
|
||||
$this->checkSetupController
|
||||
->expects($this->once())
|
||||
->method('getLastCronInfo')
|
||||
->willReturn([
|
||||
'diffInSeconds' => 123,
|
||||
'relativeTime' => '2 hours ago',
|
||||
'backgroundJobsUrl' => 'https://example.org',
|
||||
]);
|
||||
|
||||
$this->checkSetupController
|
||||
->expects($this->once())
|
||||
|
|
|
|||
Loading…
Reference in a new issue