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:
authorPeter Zhang <peter@innocraft.com>2022-03-26 21:11:32 +0300
committerGitHub <noreply@github.com>2022-03-26 21:11:32 +0300
commite1eea7a08911da4d8718ad9316a19bd326cf02d7 (patch)
treea8b139206fcc30a334c7cbcc57bb6a124670a601 /tests/PHPUnit
parentb5b62fd5d4f2eaf5fcf59ecb4371aca2e2944568 (diff)
Add Two New segments (#18953)
* add order revenue add order revenue * add order revenue update * Update DimensionTest.php add 2 tests * update cart update cart * update errors update errors * update segment, and add tests update segment, and add tests * update query on cart left in cart update query on cart left in cart * update tests update tests * Update Revenue.php update type * Update test_apiGetReportMetadata__API.getSegmentsMetadata.xml update tests * Update Revenue.php update * Update Revenue.php update checks * Update Revenue.php group into functions * Update Revenue.php update * Update Revenue.php update and * Update test_ecommerceOrderWithItems_SegmentRevenueOrder__Goals.get_day.xml update tests * Update Revenue.php update support type * Update Revenue.php update wrong variable * tests Co-authored-by: sgiehl <stefan@matomo.org>
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r--tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml
index 6861718e65..e579fe47e2 100644
--- a/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml
+++ b/tests/PHPUnit/System/expected/test_apiGetReportMetadata__API.getSegmentsMetadata.xml
@@ -762,12 +762,24 @@
<row>
<type>metric</type>
<category>Ecommerce</category>
+ <name>Order Revenue</name>
+ <segment>revenueOrder</segment>
+ </row>
+ <row>
+ <type>metric</type>
+ <category>Ecommerce</category>
<name>Product Price</name>
<segment>productPrice</segment>
</row>
<row>
<type>metric</type>
<category>Ecommerce</category>
+ <name>Revenue Left In Cart</name>
+ <segment>revenueAbandonedCart</segment>
+ </row>
+ <row>
+ <type>metric</type>
+ <category>Ecommerce</category>
<name>Viewed Product Price</name>
<segment>productViewPrice</segment>
</row>