Skip to content

Commit

Permalink
Fix CheckSetupControllerTest following overwrite.cli.url migration
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Jan 16, 2024
1 parent 0483064 commit 7017b3e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/settings/tests/Controller/CheckSetupControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ protected function setUp(): void {
])
->setMethods([
'getLastCronInfo',
'getSuggestedOverwriteCliURL',
'getCurlVersion',
'isPhpOutdated',
'isPHPMailerUsed',
Expand Down Expand Up @@ -159,10 +158,6 @@ public function testCheck() {
->method('getHeader');
$this->clientService->expects($this->never())
->method('newClient');
$this->checkSetupController
->expects($this->once())
->method('getSuggestedOverwriteCliURL')
->willReturn('');
$this->checkSetupController
->expects($this->once())
->method('getLastCronInfo')
Expand Down

0 comments on commit 7017b3e

Please sign in to comment.