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:
authormattab <matthieu.aubry@gmail.com>2013-02-11 06:26:42 +0400
committermattab <matthieu.aubry@gmail.com>2013-02-11 06:26:42 +0400
commit0e4d5e8ebf4c2ec46ab06e2b0c88f7bb2d9d3ce5 (patch)
tree192e4688b17c1e7b03e5359e087e044894880ef7 /tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
parent4124ad4e250b0e62d8a21627e425b5f2b6c3845b (diff)
Fixing tests
Diffstat (limited to 'tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php')
-rwxr-xr-xtests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php b/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
index d299d64818..8d32b5d1fc 100755
--- a/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
+++ b/tests/PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php
@@ -139,12 +139,12 @@ class Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays extends Integ
self::$idSite1, "Site 1", $urls = null, $ecommerce = null, $siteSearch = null,
$searchKeywordParameters = null, $searchCategoryParameters = null, $excludedIps = null,
$excludedQueryParameters = null, $timezone = null, $currency = null, $group = null,
- $startDate = null, $excludedUserAgents = null, $keepURLFragments = 2); // No for idSite 1
+ $startDate = null, $excludedUserAgents = null, $keepURLFragments = 2); // KEEP_URL_FRAGMENT_NO No for idSite 1
Piwik_SitesManager_API::getInstance()->updateSite(
self::$idSite2, "Site 2", $urls = null, $ecommerce = null, $siteSearch = null,
$searchKeywordParameters = null, $searchCategoryParameters = null, $excludedIps = null,
$excludedQueryParameters = null, $timezone = null, $currency = null, $group = null,
- $startDate = null, $excludedUserAgents = null, $keepURLFragments = 1); // Yes for idSite 2
+ $startDate = null, $excludedUserAgents = null, $keepURLFragments = 1); // KEEP_URL_FRAGMENT_YES Yes for idSite 2
}
protected static function trackVisits()
@@ -212,7 +212,7 @@ class Test_Piwik_Integration_TwoVisitors_TwoWebsites_DifferentDays extends Integ
$visitorAsite2 = self::getTracker($idSite2, Piwik_Date::factory($dateTime)->addHour(24)->getDatetime(), $defaultInit = true);
$visitorAsite2->setUserAgent('Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;)');
$visitorAsite2->setUrlReferrer('http://only-homepage-referer.com/');
- $visitorAsite2->setUrl('http://example2.com/home#notIgnoredFragment');
+ $visitorAsite2->setUrl('http://example2.com/home#notIgnoredFragment#');
$visitorAsite2->DEBUG_APPEND_URL = '&_idts=' . Piwik_Date::factory($dateTime)->addHour(24)->getTimestamp();
self::checkResponse($visitorAsite2->doTrackPageView('Website 2 page view'));
// test with invalid URL