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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-12-11 04:46:56 +0300
committerGitHub <noreply@github.com>2020-12-11 04:46:56 +0300
commitd8517139c10af849d105e91dfea878a907c3ff7f (patch)
treefe1bef406f6c4b45bc5e8d676f759eb32c86243b /tests/PHPUnit/Fixtures
parent414396f7a485f1a91d51724d0a5c165a72b7d322 (diff)
Fix unknown keyword is not shown in transitions report in seach engines section (#16841)
* Fix unknown keyword is not shown in transitions report in seach engines section * Add test so change will be visible there Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r--tests/PHPUnit/Fixtures/SomeVisitsManyPageviewsWithTransitions.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/PHPUnit/Fixtures/SomeVisitsManyPageviewsWithTransitions.php b/tests/PHPUnit/Fixtures/SomeVisitsManyPageviewsWithTransitions.php
index 9adc29f669..4c09c290b1 100644
--- a/tests/PHPUnit/Fixtures/SomeVisitsManyPageviewsWithTransitions.php
+++ b/tests/PHPUnit/Fixtures/SomeVisitsManyPageviewsWithTransitions.php
@@ -122,6 +122,12 @@ class SomeVisitsManyPageviewsWithTransitions extends Fixture
$pageViewType = 'site-search', $searchKeyword = 'anotherkwd',
$searchCategory = 'mysearchcat');
+
+ $tracker->setIp('156.5.3.8');
+ $tracker->setNewVisitorId();
+ $tracker->setUrlReferrer('http://www.google.com.vn/url?sa=t&rct=j&q='); // search w/ unknown keyword
+ $this->trackPageView($tracker, 0, 'page/one.html');
+
self::checkBulkTrackingResponse($tracker->doBulkTrack());
}