diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-15 17:24:25 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-18 10:02:34 +0100 |
commit | 19aaaad8df55690d13baf831f30f02101500f17e (patch) | |
tree | 88f84282e5dc6570f3f0209b1a64eb63d5c8e1c7 /apps/settings | |
parent | d5c9d6037fcd5badcc547fb112ad13fa149b5114 (diff) | |
download | nextcloud-server-19aaaad8df55690d13baf831f30f02101500f17e.tar.gz nextcloud-server-19aaaad8df55690d13baf831f30f02101500f17e.zip |
Remove references to removed functions in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/tests/Controller/CheckSetupControllerTest.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/settings/tests/Controller/CheckSetupControllerTest.php b/apps/settings/tests/Controller/CheckSetupControllerTest.php index d5f5915ddba..1b778da661f 100644 --- a/apps/settings/tests/Controller/CheckSetupControllerTest.php +++ b/apps/settings/tests/Controller/CheckSetupControllerTest.php @@ -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()) |