From 3cb7169cef259efe922912364c3c8479a986619c Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Tue, 12 Sep 2017 23:20:38 +0200 Subject: Show Tibet as part of China on map (#11930) * Revert "free tibet!" This reverts commit 4e47c8aba3bf146292f6e9d38aa0151c383e6c33. * Remove unneeded translations * adjust API * fix tests * update screenshots * update tests files * update screenshot * Do not change detected location * update tests * Fix continent detection for old records * submodule update * update screenshots * Cleanup * use group by filters only if needed * make filter work for datatable maps --- ...estAPITest__Live.getLastVisitsDetails_range.xml | 24 +++++----- ...untryCode__API.getSuggestedValuesForSegment.xml | 2 +- ...egionCode__API.getSuggestedValuesForSegment.xml | 2 +- ...rsOneWebsiteTest__UserCountry.getCity_month.xml | 14 +++--- ...neWebsiteTest__UserCountry.getCountry_month.xml | 56 +++++++++++----------- ...OneWebsiteTest__UserCountry.getRegion_month.xml | 14 +++--- 6 files changed, 56 insertions(+), 56 deletions(-) (limited to 'tests/PHPUnit/System/expected') 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 982d316f0c..27cd927334 100644 --- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml +++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest__Live.getLastVisitsDetails_range.xml @@ -2245,13 +2245,13 @@ 1 Asia asi - Tibet - ti - plugins/Morpheus/icons/dist/flags/ti.png - Unknown - 1 + China + cn + plugins/Morpheus/icons/dist/flags/cn.png + Xizang + 14 Lhasa - Lhasa, Unknown, Tibet + Lhasa, Xizang, China 29.650000 91.100000 12:34:06 @@ -2525,13 +2525,13 @@ 0 Asia asi - Tibet - ti - plugins/Morpheus/icons/dist/flags/ti.png - Unknown - 1 + China + cn + plugins/Morpheus/icons/dist/flags/cn.png + Xizang + 14 Lhasa - Lhasa, Unknown, Tibet + Lhasa, Xizang, China 29.650000 91.100000 12:34:06 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 84baa921c6..57ad401634 100644 --- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml +++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_countryCode__API.getSuggestedValuesForSegment.xml @@ -7,7 +7,7 @@ it fr id - ti + cn mk xx \ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_regionCode__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_regionCode__API.getSuggestedValuesForSegment.xml index 68a8855109..9e28c098ed 100644 --- a/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_regionCode__API.getSuggestedValuesForSegment.xml +++ b/tests/PHPUnit/System/expected/test_AutoSuggestAPITest_regionCode__API.getSuggestedValuesForSegment.xml @@ -5,7 +5,7 @@ P3 A6 H9 - 1 + 14 G5 CA \ No newline at end of file diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCity_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCity_month.xml index 7df3efc479..8cc2b0f386 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCity_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCity_month.xml @@ -162,7 +162,7 @@ plugins/Morpheus/icons/dist/flags/ru.png - + 2 5 4 @@ -186,13 +186,13 @@ 0 29.65 91.1 - city==Lhasa;regionCode==1;countryCode==ti + city==Lhasa;regionCode==14;countryCode==cn Lhasa - 1 - ti - Tibet - Unknown - plugins/Morpheus/icons/dist/flags/ti.png + 14 + cn + China + Xizang + plugins/Morpheus/icons/dist/flags/cn.png diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCountry_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCountry_month.xml index 3e1bd4e2cc..c4558671c1 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCountry_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getCountry_month.xml @@ -113,10 +113,10 @@ 16 - + 2 - 6 - 5 + 5 + 4 1621 1 @@ -135,16 +135,16 @@ 15 1 0 - fr - plugins/Morpheus/icons/dist/flags/fr.png - countryCode==fr + cn + plugins/Morpheus/icons/dist/flags/cn.png + countryCode==cn 16 - + 2 - 5 - 4 + 6 + 5 1621 1 @@ -163,16 +163,16 @@ 15 1 0 - id - plugins/Morpheus/icons/dist/flags/id.png - countryCode==id + fr + plugins/Morpheus/icons/dist/flags/fr.png + countryCode==fr 16 - + 2 - 6 - 5 + 5 + 4 1621 1 @@ -191,16 +191,16 @@ 15 1 0 - it - plugins/Morpheus/icons/dist/flags/it.png - countryCode==it + id + plugins/Morpheus/icons/dist/flags/id.png + countryCode==id 16 - + 2 - 5 - 4 + 6 + 5 1621 1 @@ -219,13 +219,13 @@ 15 1 0 - mk - plugins/Morpheus/icons/dist/flags/mk.png - countryCode==mk + it + plugins/Morpheus/icons/dist/flags/it.png + countryCode==it 16 - + 2 5 4 @@ -247,9 +247,9 @@ 15 1 0 - ti - plugins/Morpheus/icons/dist/flags/ti.png - countryCode==ti + mk + plugins/Morpheus/icons/dist/flags/mk.png + countryCode==mk 16 diff --git a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getRegion_month.xml b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getRegion_month.xml index 8e963544ee..9e358630a1 100644 --- a/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getRegion_month.xml +++ b/tests/PHPUnit/System/expected/test_ManyVisitorsOneWebsiteTest__UserCountry.getRegion_month.xml @@ -240,7 +240,7 @@ plugins/Morpheus/icons/dist/flags/mk.png - + 2 5 4 @@ -262,12 +262,12 @@ 15 1 0 - regionCode==1;countryCode==ti - 1 - ti - Tibet - Unknown - plugins/Morpheus/icons/dist/flags/ti.png + regionCode==14;countryCode==cn + 14 + cn + China + Xizang + plugins/Morpheus/icons/dist/flags/cn.png -- cgit v1.2.3