From aa6de241fe398ea578524dfe11f18c44fe6e7013 Mon Sep 17 00:00:00 2001
From: mattab <matthieu.aubry@gmail.com>
Date: Wed, 8 Oct 2014 18:30:17 +1300
Subject: [PATCH] fixing tests after the provider returns no data rather than
 unknown

---
 .../test_Contents__Live.getLastVisitsDetails_day.xml      | 8 ++++----
 .../test_Contents__Live.getLastVisitsDetails_month.xml    | 8 ++++----
 ...entInteractionMatch__Live.getLastVisitsDetails_day.xml | 8 ++++----
 ..._contentTargetMatch__Live.getLastVisitsDetails_day.xml | 8 ++++----
 ...entNameOrPieceMatch__Live.getLastVisitsDetails_day.xml | 8 ++++----
 ...blesIntegrationTest__Live.getLastVisitsDetails_day.xml | 4 ++--
 6 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml
index 989f816722..2c94dcd77c 100644
--- a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml
+++ b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_day.xml
@@ -45,9 +45,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
@@ -145,9 +145,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
diff --git a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml
index 989f816722..2c94dcd77c 100644
--- a/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml
+++ b/plugins/Contents/tests/expected/test_Contents__Live.getLastVisitsDetails_month.xml
@@ -45,9 +45,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
@@ -145,9 +145,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
diff --git a/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml
index 989f816722..2c94dcd77c 100644
--- a/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml
+++ b/plugins/Contents/tests/expected/test_Contents_contentInteractionMatch__Live.getLastVisitsDetails_day.xml
@@ -45,9 +45,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
@@ -145,9 +145,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
diff --git a/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml
index 989f816722..2c94dcd77c 100644
--- a/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml
+++ b/plugins/Contents/tests/expected/test_Contents_contentTargetMatch__Live.getLastVisitsDetails_day.xml
@@ -45,9 +45,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
@@ -145,9 +145,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
diff --git a/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml b/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml
index 989f816722..2c94dcd77c 100644
--- a/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml
+++ b/plugins/Contents/tests/expected/test_ContentscontentNameOrPieceMatch__Live.getLastVisitsDetails_day.xml
@@ -45,9 +45,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
@@ -145,9 +145,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>direct</referrerType>
 		<referrerTypeName>Direct Entry</referrerTypeName>
 		<referrerName />
diff --git a/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml b/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml
index a61cb11554..d8d3b53d55 100644
--- a/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml
+++ b/plugins/CustomVariables/tests/expected/test_CustomVariablesIntegrationTest__Live.getLastVisitsDetails_day.xml
@@ -118,9 +118,9 @@
 		</customVariables>
 		<deviceType>Desktop</deviceType>
 		<events>0</events>
-		<provider>Unknown</provider>
+		<provider />
 		<providerName>Unknown</providerName>
-		<providerUrl>http://piwik.org/faq/general/#faq_52</providerUrl>
+		<providerUrl />
 		<referrerType>search</referrerType>
 		<referrerTypeName>Search Engines</referrerTypeName>
 		<referrerName>Google</referrerName>
-- 
GitLab