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:
Diffstat (limited to 'tests/PHPUnit/Framework/TestRequest/Response.php')
-rw-r--r--tests/PHPUnit/Framework/TestRequest/Response.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/TestRequest/Response.php b/tests/PHPUnit/Framework/TestRequest/Response.php
index 5969725de7..56d4c7080d 100644
--- a/tests/PHPUnit/Framework/TestRequest/Response.php
+++ b/tests/PHPUnit/Framework/TestRequest/Response.php
@@ -253,6 +253,9 @@ class Response
$response = str_replace('.000000</l', '</l', $response); //lat/long
$response = str_replace('.00</revenue>', '</revenue>', $response);
+ // eg. <totalEcommerceRevenue>0.00</totalEcommerceRevenue>
+ $response = str_replace('.00</t', '</t', $response);
+
return $response;
}