コード例 #1
0
 public function testDeletesReport()
 {
     $reportId = 1;
     $userId = 2;
     $this->reportingRepository->expects($this->once())->method('DeleteSavedReport')->with($this->equalTo($reportId), $this->equalTo($userId));
     $this->rs->DeleteSavedReport($reportId, $userId);
 }
コード例 #2
0
ファイル: ReportingService.php プロジェクト: JoseTfg/Booked
 public function GenerateCommonReport(ICannedReport $cannedReport)
 {
     $data = $this->repository->GetCustomReport($cannedReport->GetBuilder());
     return new CustomReport($data, $this->attributeRepository);
 }