]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove references to removed functions in tests 42802/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 15 Jan 2024 16:24:25 +0000 (17:24 +0100)
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>
Tue, 16 Jan 2024 09:49:19 +0000 (10:49 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/settings/tests/Controller/CheckSetupControllerTest.php

index d5f5915ddbab9e5deaa63a6fa7a5aa85e10bb61c..1b778da661f79ca97ed9e7eb275f9794a592c255 100644 (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())