($reports, $shares, $output, $apiData = null)
| 17 | |
| 18 | class ApiControllerTest extends TestCase { |
| 19 | private function controller($reports, $shares, $output, $apiData = null): ApiController { |
| 20 | return new ApiController('analytics', $this->createMock(IRequest::class), $this->createMock(\Psr\Log\LoggerInterface::class), $reports, $shares, $output, $apiData ?? $this->createMock(ApiDataController::class)); |
| 21 | } |
| 22 | |
| 23 | public function testListIncludesSharedReportsAndOmitsFolders(): void { |
| 24 | $reports = $this->createMock(ReportService::class); |
no outgoing calls
no test coverage detected