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
path: root/tests
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-01-20 08:50:00 +0400
committermattab <matthieu.aubry@gmail.com>2014-01-20 08:50:00 +0400
commit39dfcad45ff103dcf827843f74e2188a858b1cce (patch)
treecc3ff474c327724260922d2441848c8840773d85 /tests
parent008bae4fca2d7e82a1f16f80977a43896e985c3e (diff)
Fix test on Mysqli that latitude / longitude are not rounded the same as PDO Mysql
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml12
-rw-r--r--tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml12
m---------tests/PHPUnit/UI0
3 files changed, 12 insertions, 12 deletions
diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml
index 4e3932b3a5..d48ae32332 100644
--- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml
+++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_latitude__API.getSuggestedValuesForSegment.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
- <row>49.250000</row>
- <row>123.456001</row>
- <row>47.249001</row>
- <row>124.456001</row>
- <row>29.650000</row>
- <row>1.000000</row>
+ <row>49.25</row>
+ <row>123.456</row>
+ <row>47.249</row>
+ <row>124.456</row>
+ <row>29.65</row>
+ <row>1</row>
</result> \ No newline at end of file
diff --git a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml
index 94553b31e2..34b2e9333d 100644
--- a/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml
+++ b/tests/PHPUnit/Integration/expected/test_AutoSuggestAPITest_longitude__API.getSuggestedValuesForSegment.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8" ?>
<result>
- <row>-123.133003</row>
- <row>21.320999</row>
- <row>6.018000</row>
- <row>22.231001</row>
- <row>91.099998</row>
- <row>2.000000</row>
+ <row>-123.133</row>
+ <row>21.321</row>
+ <row>6.018</row>
+ <row>22.231</row>
+ <row>91.1</row>
+ <row>2</row>
</result> \ No newline at end of file
diff --git a/tests/PHPUnit/UI b/tests/PHPUnit/UI
-Subproject 232dfeb4ac37f347e478e03d28448e5ea6d2f9d
+Subproject 63fe6dc64e557c9f5daacd4e274524b92cae39f