diff options
author | benakamoorthi <benaka.moorthi@gmail.com> | 2012-11-14 06:23:34 +0400 |
---|---|---|
committer | benakamoorthi <benaka.moorthi@gmail.com> | 2012-11-14 06:23:34 +0400 |
commit | f36e523327fddef0481693b4e353613785aa5e9d (patch) | |
tree | 52d46418e7b80814360cb424397eb5f18703a252 /tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php | |
parent | 0223d19e9a3a6f1530963dc83d1279b4e2d62798 (diff) |
Revert [7190] and [7464] while making sure tests that were not run before [7190] are still run.
git-svn-id: http://dev.piwik.org/svn/trunk@7465 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php')
-rwxr-xr-x | tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php b/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php index 96df2301cc..4c8b59a216 100755 --- a/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php +++ b/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php @@ -70,7 +70,7 @@ class Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays extends Integ 'VisitorInterest.getNumberOfVisitsByDaysSinceLast'); } - public function getApiForTesting( $testScheduledReports = true ) + public function getApiForTesting() { $apiToCall = $this->getApiToCall(); $singlePeriodApi = array('VisitsSummary.get', 'Goals.get'); @@ -114,13 +114,8 @@ class Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays extends Integ 'testSuffix' => '_' . $api . '_firstSite_lastN') ); } - - if ($testScheduledReports) - { - $result = array_merge($result, self::getApiForTestingScheduledReports(self::$dateTime, 'month')); - } - return $result; + return array_merge($result, self::getApiForTestingScheduledReports(self::$dateTime, 'month')); } public function getOutputPrefix() |