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:
authordiosmosis <benaka@piwik.pro>2015-09-11 03:56:01 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-15 02:39:40 +0300
commit45c929d831a0e0c1c31cd10099f8f399e911b1fa (patch)
tree99981854cc4e12ccf58fb91474948a21738ba9c1 /tests/PHPUnit/Fixtures
parentf674f696e5864f6b85af15b915cd0f49e0ea9850 (diff)
Allow Segments to define multiple SQL columns if the segment value can be matched in any of those fields, and use to define two new segments: customVariableName & customVariableValue.
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r--tests/PHPUnit/Fixtures/TwoVisitsWithCustomVariables.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Fixtures/TwoVisitsWithCustomVariables.php b/tests/PHPUnit/Fixtures/TwoVisitsWithCustomVariables.php
index 047c7e5a65..63dbe02829 100644
--- a/tests/PHPUnit/Fixtures/TwoVisitsWithCustomVariables.php
+++ b/tests/PHPUnit/Fixtures/TwoVisitsWithCustomVariables.php
@@ -80,7 +80,7 @@ class TwoVisitsWithCustomVariables extends Fixture
// At first, visitor custom var is set to LoggedOut
$visitorA->setForceVisitDateTime(Date::factory($dateTime)->addHour(0.1)->getDatetime());
$visitorA->setUrl('http://example.org/homepage');
- $visitorA->setCustomVariable($id = 1, $name = 'VisitorType', $value = 'LoggedOut');
+ $visitorA->setCustomVariable($id = 2, $name = 'VisitorType', $value = 'LoggedOut');
self::checkResponse($visitorA->doTrackPageView('Homepage'));
self::checkResponse($visitorA->doTrackGoal($idGoal2));