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 16, 2024
1 parent b27455b commit 9bdad44
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 @@ -122,7 +122,6 @@ protected function setUp(): void {
$this->setupCheckManager,
])
->setMethods([
'getLastCronInfo',
'getCurlVersion',
'isPhpOutdated',
'isPHPMailerUsed',
Expand Down Expand Up @@ -152,14 +151,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 9bdad44

Please sign in to comment.