From 346ef521bc621ca8116d4854226e5f3d6d6c036e Mon Sep 17 00:00:00 2001
From: Thomas Steur <thomas.steur@gmail.com>
Date: Tue, 10 Feb 2015 20:31:27 +0000
Subject: [PATCH] refs #6705 fixed a couple of system tests as we do remove
 users only from processed report now

---
 .../System/expected/test___API.get_day.xml    |   1 +
 ...OneVisitorTwoVisits_csv__API.get_month.csv | Bin 1428 -> 1444 bytes
 ...ortMetadata__API.getReportMetadata_day.xml |   2 ++
 ...test_apiGetReportMetadata__API.get_day.xml |   1 +
 4 files changed, 4 insertions(+)

diff --git a/plugins/ExamplePlugin/tests/System/expected/test___API.get_day.xml b/plugins/ExamplePlugin/tests/System/expected/test___API.get_day.xml
index 0c22059885..9327934fa5 100644
--- a/plugins/ExamplePlugin/tests/System/expected/test___API.get_day.xml
+++ b/plugins/ExamplePlugin/tests/System/expected/test___API.get_day.xml
@@ -2,6 +2,7 @@
 <result>
 	<nb_uniq_visitors>2</nb_uniq_visitors>
 	<nb_visits>2</nb_visits>
+	<nb_users>0</nb_users>
 	<nb_actions>4</nb_actions>
 	<max_actions>2</max_actions>
 	<bounce_count>0</bounce_count>
diff --git a/tests/PHPUnit/System/expected/test_OneVisitorTwoVisits_csv__API.get_month.csv b/tests/PHPUnit/System/expected/test_OneVisitorTwoVisits_csv__API.get_month.csv
index a75fdd2cbd7123a45172ccd2e2f2d2adc602db19..ccf95a9d554be720b366366d3b3c403d2644f8c4 100644
GIT binary patch
delta 24
gcmbQjy@Y#$6?-T{F+(at(MHp=EQ|(||FcX509ud-(f|Me

delta 14
WcmZ3&J%xLM)ke1yER%&;CjkH_`~?^Q

diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml
index 74eef393ab..efa250ecf4 100644
--- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml
+++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getReportMetadata_day.xml
@@ -74,12 +74,14 @@
 		<metrics>
 			<nb_uniq_visitors>Unique visitors</nb_uniq_visitors>
 			<nb_visits>Visits</nb_visits>
+			<nb_users>Users</nb_users>
 			<nb_actions>Actions</nb_actions>
 			<max_actions>Maximum actions in one visit</max_actions>
 		</metrics>
 		<metricsDocumentation>
 			<nb_uniq_visitors>The number of unduplicated visitors coming to your website. Every user is only counted once, even if he visits the website multiple times a day.</nb_uniq_visitors>
 			<nb_visits>If a visitor comes to your website for the first time or if he visits a page more than 30 minutes after his last page view, this will be recorded as a new visit.</nb_visits>
+			<nb_users>The number of users logged in your website. It is the number of unique active users that have a User ID set (via the Tracking code function 'setUserId').</nb_users>
 			<nb_actions>The number of actions performed by your visitors. Actions can be page views, internal site searches, downloads or outlinks.</nb_actions>
 			<bounce_rate>The percentage of visits that only had a single pageview. This means, that the visitor left the website directly from the entrance page.</bounce_rate>
 			<nb_actions_per_visit>The average number of actions (page views, site searches, downloads or outlinks) that were performed during the visits.</nb_actions_per_visit>
diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.get_day.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.get_day.xml
index b519aab3fb..57438262e4 100644
--- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.get_day.xml
+++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.get_day.xml
@@ -2,6 +2,7 @@
 <result>
 	<nb_uniq_visitors>1</nb_uniq_visitors>
 	<nb_visits>1</nb_visits>
+	<nb_users>0</nb_users>
 	<nb_actions>1</nb_actions>
 	<max_actions>1</max_actions>
 	<bounce_count>1</bounce_count>
-- 
GitLab