Skip to content
Extraits de code Groupes Projets
Valider 61de471e rédigé par mattab's avatar mattab
Parcourir les fichiers

Fixing build, running the test on all php versions

parent 23e76fab
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -353,29 +353,26 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase ...@@ -353,29 +353,26 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
) )
); );
// We run this particular test on one PHP version only (which should run on Travis CI + Most devs) // PDF Scheduled Report
if (stristr(phpversion(), '5.4') !== false) { // tests/PHPUnit/Integration/processed/test_ecommerceOrderWithItems_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf
// PDF Scheduled Report array_push(
// tests/PHPUnit/Integration/processed/test_ecommerceOrderWithItems_scheduled_report_in_pdf_tables_only__ScheduledReports.generateReport_week.original.pdf $apiCalls,
array_push( array(
$apiCalls, 'ScheduledReports.generateReport',
array( array(
'ScheduledReports.generateReport', 'testSuffix' => '_scheduled_report_in_pdf_tables_only',
array( 'date' => $dateTime,
'testSuffix' => '_scheduled_report_in_pdf_tables_only', 'periods' => array($period),
'date' => $dateTime, 'format' => 'original',
'periods' => array($period), 'fileExtension' => 'pdf',
'format' => 'original', 'otherRequestParameters' => array(
'fileExtension' => 'pdf', 'idReport' => 1,
'otherRequestParameters' => array( 'reportFormat' => ReportRenderer::PDF_FORMAT,
'idReport' => 1, 'outputType' => \Piwik\Plugins\ScheduledReports\API::OUTPUT_RETURN
'reportFormat' => ReportRenderer::PDF_FORMAT,
'outputType' => \Piwik\Plugins\ScheduledReports\API::OUTPUT_RETURN
)
) )
) )
); )
} );
// SMS Scheduled Report, one site // SMS Scheduled Report, one site
array_push( array_push(
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter