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 <[email protected]>
  • Loading branch information
come-nc committed Jan 16, 2024
1 parent 0f465cf commit 34c77ac
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 34c77ac

Please sign in to comment.