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:
authorjoostdekeijzer <joost@dekeijzer.org>2014-11-03 16:24:50 +0300
committerjoostdekeijzer <joost@dekeijzer.org>2014-11-03 17:13:20 +0300
commit22444e467346cfd6d413c9b3cef038618400bfb9 (patch)
tree1d903944a2c2da83f94e1d46c5f01e786739a2e2 /tests/PHPUnit
parent3e7bbef502570ee56d29a9954821b474b2b1e7ae (diff)
updated expected test results (to the processed output, acutally, but it looks fine)
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r--tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml32
-rw-r--r--tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml6
-rw-r--r--tests/PHPUnit/System/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml3
-rw-r--r--tests/PHPUnit/System/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml3
4 files changed, 23 insertions, 21 deletions
diff --git a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml
index 188f7cb3c2..fbebee5b1f 100644
--- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml
+++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml
@@ -2277,17 +2277,17 @@
<browserFamily />
<browserFamilyDescription>Unknown</browserFamilyDescription>
<events>1</events>
- <continent>Unknown</continent>
- <continentCode>unk</continentCode>
- <country>Unknown</country>
- <countryCode>xx</countryCode>
- <countryFlag>plugins/UserCountry/images/flags/xx.png</countryFlag>
+ <continent>North America</continent>
+ <continentCode>amn</continentCode>
+ <country>United States</country>
+ <countryCode>us</countryCode>
+ <countryFlag>plugins/UserCountry/images/flags/us.png</countryFlag>
<region />
<regionCode />
<city />
- <location>Unknown</location>
- <latitude />
- <longitude />
+ <location>United States</location>
+ <latitude>38</latitude>
+ <longitude>-97</longitude>
<visitLocalTime>12:34:06</visitLocalTime>
<visitLocalHour>12</visitLocalHour>
<daysSinceLastVisit>10</daysSinceLastVisit>
@@ -2519,17 +2519,17 @@
<browserFamily />
<browserFamilyDescription>Unknown</browserFamilyDescription>
<events>0</events>
- <continent>Unknown</continent>
- <continentCode>unk</continentCode>
- <country>Unknown</country>
- <countryCode>xx</countryCode>
- <countryFlag>plugins/UserCountry/images/flags/xx.png</countryFlag>
+ <continent>North America</continent>
+ <continentCode>amn</continentCode>
+ <country>United States</country>
+ <countryCode>us</countryCode>
+ <countryFlag>plugins/UserCountry/images/flags/us.png</countryFlag>
<region />
<regionCode />
<city />
- <location>Unknown</location>
- <latitude />
- <longitude />
+ <location>United States</location>
+ <latitude>38</latitude>
+ <longitude>-97</longitude>
<visitLocalTime>12:34:06</visitLocalTime>
<visitLocalHour>12</visitLocalHour>
<daysSinceLastVisit>11</daysSinceLastVisit>
diff --git a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml
index 949a6486de..84baa921c6 100644
--- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml
+++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml
@@ -2,12 +2,12 @@
<result>
<row>gb</row>
<row>ca</row>
- <row>xx</row>
<row>ru</row>
+ <row>us</row>
<row>it</row>
- <row>id</row>
<row>fr</row>
+ <row>id</row>
<row>ti</row>
<row>mk</row>
- <row>us</row>
+ <row>xx</row>
</result> \ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml
index d48ae32332..8cc367528e 100644
--- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml
+++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml
@@ -3,7 +3,8 @@
<row>49.25</row>
<row>123.456</row>
<row>47.249</row>
- <row>124.456</row>
+ <row>38</row>
<row>29.65</row>
+ <row>124.456</row>
<row>1</row>
</result> \ No newline at end of file
diff --git a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml
index 34b2e9333d..43e5a510a3 100644
--- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml
+++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml
@@ -3,7 +3,8 @@
<row>-123.133</row>
<row>21.321</row>
<row>6.018</row>
- <row>22.231</row>
+ <row>-97</row>
<row>91.1</row>
+ <row>22.231</row>
<row>2</row>
</result> \ No newline at end of file