Skip to content

Commit

Permalink
Remove references to removed functions in tests
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 15, 2024
1 parent c99fcd7 commit dae6f3a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions apps/settings/tests/Controller/CheckSetupControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ protected function setUp(): void {
$this->setupCheckManager,
])
->setMethods([
'getLastCronInfo',
'getCurlVersion',
'isPhpOutdated',
'isPHPMailerUsed',
Expand Down Expand Up @@ -172,14 +171,6 @@ public function testCheck() {
->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())
Expand Down

0 comments on commit dae6f3a

Please sign in to comment.