diff options
author | Matthieu Aubry <matt@piwik.org> | 2016-04-19 03:18:17 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2016-04-19 03:18:17 +0300 |
commit | 823a06ac0d22ccbf14b0b5934707f0c00a6e0eec (patch) | |
tree | aae1c2a0535cc2c59a5da5d77c5bd7fc2b5d9371 /tests/PHPUnit/System/RowEvolutionTest.php | |
parent | 030922c1d9e6eea83472d5819e7b88a0454d4f2d (diff) |
Trigger a Goal conversion for "Event matching goals" even when an event is tracked without a URL (#10018)
* use idGoal parameter in system tests
* Trigger a Goal conversion for "Event matching goals" even when an event is tracked without a URL
* Test files for green build
* Add new expected test file
Diffstat (limited to 'tests/PHPUnit/System/RowEvolutionTest.php')
-rwxr-xr-x | tests/PHPUnit/System/RowEvolutionTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/System/RowEvolutionTest.php b/tests/PHPUnit/System/RowEvolutionTest.php index efdf021061..16ad1c4b3f 100755 --- a/tests/PHPUnit/System/RowEvolutionTest.php +++ b/tests/PHPUnit/System/RowEvolutionTest.php @@ -118,17 +118,18 @@ class RowEvolutionTest extends SystemTestCase // Goals > Visits Until Conversion, idGoal != 0 $config['testSuffix'] = '_goals_visitsUntilConversion'; $config['periods'] = array('day'); + $config['idGoal'] = '2'; $config['otherRequestParameters']['date'] = '2010-02-06,2010-03-06'; $config['otherRequestParameters']['period'] = 'day'; $config['otherRequestParameters']['apiModule'] = 'Goals'; $config['otherRequestParameters']['apiAction'] = 'getVisitsUntilConversion'; $config['otherRequestParameters']['label'] = ('1 visit, 2 visits'); - $config['otherRequestParameters']['idGoal'] = '2'; $return[] = array('API.getRowEvolution', $config); // Goals > Visits Until Conversion, idGoal != 0, without specifying labels $config['testSuffix'] = '_goals_visitsUntilConversion_WithoutLabels'; $config['periods'] = array('day'); + $config['idGoal'] = '2'; $config['otherRequestParameters']['date'] = '2010-02-06,2010-03-06'; $config['otherRequestParameters']['period'] = 'day'; $config['otherRequestParameters']['apiModule'] = 'Goals'; @@ -136,7 +137,6 @@ class RowEvolutionTest extends SystemTestCase $config['otherRequestParameters']['label'] = false; $config['otherRequestParameters']['filter_limit'] = 2; $config['otherRequestParameters']['filter_sort_column'] = 'nb_conversions'; - $config['otherRequestParameters']['idGoal'] = '2'; $return[] = array('API.getRowEvolution', $config); // test date range where most recent date has no data (for #3465) |