diff options
Diffstat (limited to 'tests/PHPUnit/System/CustomEventsTest.php')
-rw-r--r-- | tests/PHPUnit/System/CustomEventsTest.php | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/tests/PHPUnit/System/CustomEventsTest.php b/tests/PHPUnit/System/CustomEventsTest.php index 3669d5aa20..f0eef83354 100644 --- a/tests/PHPUnit/System/CustomEventsTest.php +++ b/tests/PHPUnit/System/CustomEventsTest.php @@ -18,6 +18,9 @@ use Piwik\Tests\Fixtures\TwoVisitsWithCustomEvents; */ class CustomEventsTest extends SystemTestCase { + /** + * @var TwoVisitsWithCustomEvents + */ public static $fixture = null; // initialized below class definition /** @@ -83,15 +86,15 @@ class CustomEventsTest extends SystemTestCase 'testSuffix' => '_segmentMatchesEventActionPlay') ), - // eventValue should not match any page view -// array('Actions.getPageUrls', array( -// 'idSite' => $idSite1, -// 'date' => $dateTime, -// 'periods' => $dayPeriod, -// 'segment' => "eventValue>0", -// 'setDateLastN' => false, -// 'testSuffix' => '_eventSegmentMatchNoAction') -// ), + // Goals and events + array('Goals.get', array( + 'idSite' => $idSite1, + 'date' => $dateTime, + 'periods' => $dayPeriod, + 'idGoal' => TwoVisitsWithCustomEvents::$idGoalTriggeredOnEventCategory, + 'setDateLastN' => false) + ) + ); $apiToCallProcessedReportMetadata = array( |