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 <diosmosis@users.noreply.github.com>2019-07-12 03:37:58 +0300
committerGitHub <noreply@github.com>2019-07-12 03:37:58 +0300
commit2eaa4034a79ae0b08f8444c0d867e9ba17b93517 (patch)
treecad66abc5820ae3a298668f0525a82abc1b43406 /plugins/Live/tests
parentce9b7cb69e349489e74527749c47e080fed27128 (diff)
If new visit is forced, known visitors should still be recognized (#14491)
* Enforcing a new visit should not result in the visitor becoming unrecognized. * Adding test for bug. * update expected test files * Fix integration test. * Update submodule * Update test files.
Diffstat (limited to 'plugins/Live/tests')
-rw-r--r--plugins/Live/tests/System/expected/test___Live.getVisitorProfile.xml40
-rw-r--r--plugins/Live/tests/System/expected/test_higherLimit__Live.getVisitorProfile.xml80
-rw-r--r--plugins/Live/tests/System/expected/test_maxVisitLimit__Live.getVisitorProfile.xml40
3 files changed, 80 insertions, 80 deletions
diff --git a/plugins/Live/tests/System/expected/test___Live.getVisitorProfile.xml b/plugins/Live/tests/System/expected/test___Live.getVisitorProfile.xml
index ca134105c7..b6fa86102b 100644
--- a/plugins/Live/tests/System/expected/test___Live.getVisitorProfile.xml
+++ b/plugins/Live/tests/System/expected/test___Live.getVisitorProfile.xml
@@ -60,8 +60,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -182,8 +182,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -304,8 +304,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -426,8 +426,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -548,8 +548,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -670,8 +670,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -792,8 +792,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -914,8 +914,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1036,8 +1036,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1158,8 +1158,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
diff --git a/plugins/Live/tests/System/expected/test_higherLimit__Live.getVisitorProfile.xml b/plugins/Live/tests/System/expected/test_higherLimit__Live.getVisitorProfile.xml
index 1bbb29ca03..f92c79dfc7 100644
--- a/plugins/Live/tests/System/expected/test_higherLimit__Live.getVisitorProfile.xml
+++ b/plugins/Live/tests/System/expected/test_higherLimit__Live.getVisitorProfile.xml
@@ -60,8 +60,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -182,8 +182,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -304,8 +304,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -426,8 +426,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -548,8 +548,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -670,8 +670,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -792,8 +792,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -914,8 +914,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1036,8 +1036,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1158,8 +1158,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1280,8 +1280,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1402,8 +1402,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1524,8 +1524,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1646,8 +1646,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1768,8 +1768,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1890,8 +1890,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -2012,8 +2012,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -2134,8 +2134,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -2256,8 +2256,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -2378,8 +2378,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
diff --git a/plugins/Live/tests/System/expected/test_maxVisitLimit__Live.getVisitorProfile.xml b/plugins/Live/tests/System/expected/test_maxVisitLimit__Live.getVisitorProfile.xml
index c670a5b3be..9f9b8a189b 100644
--- a/plugins/Live/tests/System/expected/test_maxVisitLimit__Live.getVisitorProfile.xml
+++ b/plugins/Live/tests/System/expected/test_maxVisitLimit__Live.getVisitorProfile.xml
@@ -60,8 +60,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -182,8 +182,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -304,8 +304,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -426,8 +426,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -548,8 +548,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -670,8 +670,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -792,8 +792,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -914,8 +914,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1036,8 +1036,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>
@@ -1158,8 +1158,8 @@
<userId />
- <visitorType>new</visitorType>
- <visitorTypeIcon />
+ <visitorType>returning</visitorType>
+ <visitorTypeIcon>plugins/Live/images/returningVisitor.png</visitorTypeIcon>
<visitConverted>0</visitConverted>
<visitConvertedIcon />
<visitCount>1</visitCount>