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:
authorThomas Steur <thomas.steur@gmail.com>2015-12-15 00:37:24 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-12-15 03:59:36 +0300
commit98514dba52b5a230dc10de294d9cf7146b27ec87 (patch)
tree7b2f7e25029d0bc1d717dfafe4b11909041c016f /tests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php
parent6cd4dda2b479bf39b6c91669a7d68512577ea879 (diff)
fixes #9194 fix "goal can be only converted once per visit" is not respected when segmenting goals with a log_link_visit_action segment
Diffstat (limited to 'tests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php')
-rwxr-xr-xtests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php12
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php b/tests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php
index df052b6e6b..e084c0d475 100755
--- a/tests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php
+++ b/tests/PHPUnit/System/TrackGoalsAllowMultipleConversionsPerVisitTest.php
@@ -50,11 +50,19 @@ class TrackGoalsAllowMultipleConversionsPerVisitTest extends SystemTestCase
{
$apiToCall = array(
'VisitTime.getVisitInformationPerServerTime',
- 'VisitsSummary.get'
+ 'VisitsSummary.get',
+ 'Goals.get'
);
return array(
- array($apiToCall, array('idSite' => self::$fixture->idSite, 'date' => self::$fixture->dateTime))
+ array($apiToCall, array('idSite' => self::$fixture->idSite, 'date' => self::$fixture->dateTime)),
+ array(array('Goals.get'), array(
+ 'idSite' => self::$fixture->idSite,
+ 'date' => self::$fixture->dateTime,
+ 'segment' => 'pageUrl=@/',
+ 'testSuffix' => '_withLogLinkVisitActionSegment'
+ )),
+
);
}