Fix CheckSetupControllerTest following overwrite.cli.url migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/42796/head
Côme Chilliet 5 months ago
parent 0483064f07
commit 7017b3e675
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A

@ -128,7 +128,6 @@ class CheckSetupControllerTest extends TestCase {
])
->setMethods([
'getLastCronInfo',
'getSuggestedOverwriteCliURL',
'getCurlVersion',
'isPhpOutdated',
'isPHPMailerUsed',
@ -159,10 +158,6 @@ class CheckSetupControllerTest extends TestCase {
->method('getHeader');
$this->clientService->expects($this->never())
->method('newClient');
$this->checkSetupController
->expects($this->once())
->method('getSuggestedOverwriteCliURL')
->willReturn('');
$this->checkSetupController
->expects($this->once())
->method('getLastCronInfo')

Loading…
Cancel
Save