Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
$this->setupCheckManager,
])
->setMethods([
- 'getLastCronInfo',
'getCurlVersion',
'isPhpOutdated',
'isPHPMailerUsed',
->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())