diff options
Diffstat (limited to 'tests/PHPUnit/IntegrationTestCase.php')
-rwxr-xr-x | tests/PHPUnit/IntegrationTestCase.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/PHPUnit/IntegrationTestCase.php b/tests/PHPUnit/IntegrationTestCase.php index 6aa27d6c07..11e85d9f83 100755 --- a/tests/PHPUnit/IntegrationTestCase.php +++ b/tests/PHPUnit/IntegrationTestCase.php @@ -391,6 +391,25 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase ) ) ); + + // mail report with one row evolution based png graph + array_push( + $apiCalls, + array( + 'PDFReports.generateReport', + array( + 'testSuffix' => '_scheduled_report_in_html_row_evolution_graph', + 'date' => $dateTime, + 'periods' => array($period), + 'format' => 'original', + 'fileExtension' => 'html', + 'otherRequestParameters' => array( + 'idReport' => 5, + 'outputType' => Piwik_PDFReports_API::OUTPUT_RETURN + ) + ) + ) + ); } return $apiCalls; |