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:
authorStefan Giehl <stefan@matomo.org>2020-02-19 20:01:56 +0300
committerGitHub <noreply@github.com>2020-02-19 20:01:56 +0300
commit466bbb322846dbc27a1a3b5aeaaaad07d3d9fc7f (patch)
tree3a40bc559b595ca18e65d8f8f4abd44c768e3397 /tests/PHPUnit/Fixtures
parentdf5c324cde50c473ad2cab4e117333d2803983c6 (diff)
Improve / Fix UserID tests (#15595)
* always use same method to set visitor id * update expected test files
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r--tests/PHPUnit/Fixtures/FewVisitsWithSetVisitorId.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Fixtures/FewVisitsWithSetVisitorId.php b/tests/PHPUnit/Fixtures/FewVisitsWithSetVisitorId.php
index f678ff0e56..cf4252499f 100644
--- a/tests/PHPUnit/Fixtures/FewVisitsWithSetVisitorId.php
+++ b/tests/PHPUnit/Fixtures/FewVisitsWithSetVisitorId.php
@@ -147,7 +147,7 @@ class FewVisitsWithSetVisitorId extends Fixture
// Request from a different computer not yet logged in, this should not be added to our User ID session
$t->setUserId(false);
// make sure the Id is not so random as to not fail the test
- $t->randomVisitorId = '5e15b4d842cc294d';
+ $t->setVisitorId('5e15b4d842cc294d');
$t->setIp('1.2.4.7');
$t->setUserAgent("New unique device");