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>2014-10-10 12:32:34 +0400
committermattab <matthieu.aubry@gmail.com>2014-10-10 12:32:34 +0400
commiteeadc47465bd0a90a5a3729f77160d061a19584a (patch)
treeea426cc7cbd3e28d74a0e9f780ea592e70135d2b /tests/PHPUnit
parentdc03769052fcae1d590a1ddfbc8f5428fc8ade19 (diff)
Removed deprecated parameters
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r--tests/PHPUnit/Fixtures/OneVisitSeveralPageViews.php2
-rw-r--r--tests/PHPUnit/Fixtures/SomeVisitsWithLongUrls.php2
-rw-r--r--tests/PHPUnit/Fixtures/TwoVisitsNoKeywordWithBot.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/PHPUnit/Fixtures/OneVisitSeveralPageViews.php b/tests/PHPUnit/Fixtures/OneVisitSeveralPageViews.php
index cc0d088bd9..899df68e7a 100644
--- a/tests/PHPUnit/Fixtures/OneVisitSeveralPageViews.php
+++ b/tests/PHPUnit/Fixtures/OneVisitSeveralPageViews.php
@@ -40,7 +40,7 @@ class OneVisitSeveralPageViews extends Fixture
{
$dateTime = $this->dateTime;
$idSite = $this->idSite;
- $t = self::getTracker($idSite, $dateTime, $defaultInit = true, $useThirdPartyCookie = 1);
+ $t = self::getTracker($idSite, $dateTime, $defaultInit = true);
$t->setUrlReferrer('http://www.google.com.vn/url?sa=t&rct=j&q=%3C%3E%26%5C%22the%20pdo%20extension%20is%20required%20for%20this%20adapter%20but%20the%20extension%20is%20not%20loaded&source=web&cd=4&ved=0FjAD&url=http%3A%2F%2Fforum.piwik.org%2Fread.php%3F2%2C1011&ei=y-HHAQ&usg=AFQjCN2-nt5_GgDeg&cad=rja');
$t->setUrl('http://example.org/%C3%A9%C3%A9%C3%A9%22%27...%20%3Cthis%20is%20cool%3E!');
diff --git a/tests/PHPUnit/Fixtures/SomeVisitsWithLongUrls.php b/tests/PHPUnit/Fixtures/SomeVisitsWithLongUrls.php
index fd7519db5d..7104a9db40 100644
--- a/tests/PHPUnit/Fixtures/SomeVisitsWithLongUrls.php
+++ b/tests/PHPUnit/Fixtures/SomeVisitsWithLongUrls.php
@@ -44,7 +44,7 @@ class SomeVisitsWithLongUrls extends Fixture
$idSite = $this->idSite;
// Visit 1: keyword and few URLs
- $t = self::getTracker($idSite, $dateTime, $defaultInit = true, $useThirdPartyCookie = 1);
+ $t = self::getTracker($idSite, $dateTime, $defaultInit = true);
$t->setUrlReferrer('http://bing.com/search?q=Hello world');
// Generate a few page views that will be truncated
diff --git a/tests/PHPUnit/Fixtures/TwoVisitsNoKeywordWithBot.php b/tests/PHPUnit/Fixtures/TwoVisitsNoKeywordWithBot.php
index 07abb04d8f..d2a66893fd 100644
--- a/tests/PHPUnit/Fixtures/TwoVisitsNoKeywordWithBot.php
+++ b/tests/PHPUnit/Fixtures/TwoVisitsNoKeywordWithBot.php
@@ -43,7 +43,7 @@ class TwoVisitsNoKeywordWithBot extends Fixture
// tests run in UTC, the Tracker in UTC
$dateTime = $this->dateTime;
$idSite = $this->idSite;
- $t = self::getTracker($idSite, $dateTime, $defaultInit = true, $useThirdPartyCookie = 1);
+ $t = self::getTracker($idSite, $dateTime, $defaultInit = true);
// Also testing to record this as a bot while specifically allowing bots
$t->setUserAgent('Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)');