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:
authorJulienMoumne <julien@piwik.org>2012-08-21 03:21:02 +0400
committerJulienMoumne <julien@piwik.org>2012-08-21 03:21:02 +0400
commitc8e94839a6a281591c703d265aa410a92e268c71 (patch)
tree2f437768752fe48c1851a155a92b43f525e818de /tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
parent762bd55c958639d857b7deebbabdf8e2fec79103 (diff)
refs #3323 #3088 #2708 #71 #2318
* generate and compare HTML, PDF & SMS reports in Test_Piwik_Integration_EcommerceOrderWithItems & Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays * report content as return value of PDFReports->generateReport() with new output type OUTPUT_RETURN git-svn-id: http://dev.piwik.org/svn/trunk@6849 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php')
-rwxr-xr-xtests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php b/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
index d78cd7e8a4..8715fd57a9 100755
--- a/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
+++ b/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
@@ -30,6 +30,7 @@ class Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays extends Integ
parent::setUpBeforeClass();
try {
self::setUpWebsitesAndGoals();
+ self::setUpScheduledReports(self::$idSite1);
self::trackVisits();
} catch(Exception $e) {
// Skip whole test suite if an error occurs while setup
@@ -105,7 +106,7 @@ class Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays extends Integ
);
}
- return $result;
+ return array_merge($result, self::getApiForTestingScheduledReports(self::$dateTime, 'month'));
}
public function getOutputPrefix()