Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php')
-rwxr-xr-xtests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php b/tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php
index 6cd5e0255c..4eccef3fa5 100755
--- a/tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php
+++ b/tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php
@@ -22,6 +22,7 @@ class Test_Piwik_Integration_EcommerceOrderWithItems extends IntegrationTestCase
parent::setUpBeforeClass();
try {
self::setUpWebsitesAndGoals();
+ self::setUpScheduledReports(self::$idSite, $ecommerce = true);
self::trackVisits();
} catch(Exception $e) {
// Skip whole test suite if an error occurs while setup
@@ -52,7 +53,8 @@ class Test_Piwik_Integration_EcommerceOrderWithItems extends IntegrationTestCase
$processedReportApi = array('API.getProcessedReport');
// Normal standard goal
- return array(
+ return array_merge(array(
+
// day tests
array($dayApi, array('idSite' => self::$idSite, 'date' => self::$dateTime, 'periods' => array('day'), 'otherRequestParameters' => array('_leavePiwikCoreVariables' => 1))),
@@ -170,7 +172,8 @@ class Test_Piwik_Integration_EcommerceOrderWithItems extends IntegrationTestCase
// Website2
array($goalWeekApi, array('idSite' => self::$idSite2, 'date' => self::$dateTime, 'periods' => array('week'),
'testSuffix' => '_Website2')),
- );
+
+ ), self::getApiForTestingScheduledReports(self::$dateTime, 'week'));
}
public function getOutputPrefix()