diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php index d5f5915ddbab9..1b778da661f79 100644 --- a/apps/settings/tests/Controller/CheckSetupControllerTest.php +++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php @@ -122,7 +122,6 @@ protected function setUp(): void { $this->setupCheckManager, ]) ->setMethods([ - 'getLastCronInfo', 'getCurlVersion', 'isPhpOutdated', 'isPHPMailerUsed', @@ -152,14 +151,6 @@ public function testCheck() { ->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())