Remove references to removed functions in tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2024-01-15 17:24:25 +01:00 committed by Côme Chilliet
parent b27455b922
commit 9bdad442f8

View file

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