diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-15 17:24:25 +0100 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-01-16 10:49:19 +0100 |
commit | 9bdad442f8c2cf3f5c36dd6dce3d5669dd4ed1f1 (patch) | |
tree | d16c692fb24968733dcbf6d324f8ef43aa32748e | |
parent | b27455b9221a7b16a4abc218564ec774c9159e29 (diff) | |
download | nextcloud-server-9bdad442f8c2cf3f5c36dd6dce3d5669dd4ed1f1.tar.gz nextcloud-server-9bdad442f8c2cf3f5c36dd6dce3d5669dd4ed1f1.zip |
Remove references to removed functions in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-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()) |