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:
authorStefan Giehl <stefan@piwik.org>2018-05-20 22:14:10 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-05-20 22:14:10 +0300
commit509ac2f1085e74c6a44253248f9f2fc3ac54d337 (patch)
tree785e3898de3c0be2ebddb7a6682f1de31c7c4318 /plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml
parent682cc40c9106e20b97d86a663d0f2c2714e32303 (diff)
Improve and split tests (#12822)
* Speed up some tests by not using IntegrationTestCase * fix test * split system tests into plugin & core * adjust travis submodule * Move Annotations system test to plugin * Move Transitions system test to plugin * fix tests * move PurgeDataTest to PrivacyManager plugin * Move some tests to Goal plugin * fix test * submodule update * Move tests to ecommerce plugin * adds a caching to prevent some duplicate api calls
Diffstat (limited to 'plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml')
-rw-r--r--plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml
new file mode 100644
index 0000000000..2c07daa5b1
--- /dev/null
+++ b/plugins/Goals/tests/System/expected/test_trackGoals_oneConversionPerVisit__Goals.get_day.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<result>
+ <nb_conversions>3</nb_conversions>
+ <nb_visits_converted>2</nb_visits_converted>
+ <revenue>1000</revenue>
+ <conversion_rate>66.67%</conversion_rate>
+ <nb_conversions_new_visit>3</nb_conversions_new_visit>
+ <nb_visits_converted_new_visit>2</nb_visits_converted_new_visit>
+ <revenue_new_visit>1000</revenue_new_visit>
+ <conversion_rate_new_visit>66.67%</conversion_rate_new_visit>
+ <nb_conversions_returning_visit>0</nb_conversions_returning_visit>
+ <nb_visits_converted_returning_visit>0</nb_visits_converted_returning_visit>
+ <revenue_returning_visit>0</revenue_returning_visit>
+ <conversion_rate_returning_visit>0%</conversion_rate_returning_visit>
+</result> \ No newline at end of file