Fix CheckSetupControllerTest following overwrite.cli.url migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2024-01-15 15:06:58 +01:00
parent 0483064f07
commit 7017b3e675
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -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')