diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-09-11 05:41:15 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-09-11 05:41:15 +0300 |
commit | e0ca417951207564894906ed702ad95b9470aa66 (patch) | |
tree | 0675792c490c704660be3a08057e24c615c25d00 /tests/PHPUnit/Fixtures | |
parent | bf10a1dc1083c77ccec6c50d84b3f7511a598666 (diff) |
System tests for Goals.get for Ecommerce goal now have data
Diffstat (limited to 'tests/PHPUnit/Fixtures')
-rw-r--r-- | tests/PHPUnit/Fixtures/TwoSitesEcommerceOrderWithItems.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/Fixtures/TwoSitesEcommerceOrderWithItems.php b/tests/PHPUnit/Fixtures/TwoSitesEcommerceOrderWithItems.php index b841f029d1..ec1c2bc8f5 100644 --- a/tests/PHPUnit/Fixtures/TwoSitesEcommerceOrderWithItems.php +++ b/tests/PHPUnit/Fixtures/TwoSitesEcommerceOrderWithItems.php @@ -71,6 +71,8 @@ class TwoSitesEcommerceOrderWithItems extends Fixture self::assertEquals(array('_pkc', $category), $t->getCustomVariable(5, 'page')); self::assertEquals(array('_pkp', $price), $t->getCustomVariable(2, 'page')); self::assertEquals(array('VisitorType', 'NewLoggedOut'), $t->getCustomVariable(5, 'visit')); + + // this is also a goal conversion (visitConvertedGoalId==1) self::checkResponse($t->doTrackPageView('incredible title!')); $t->setForceVisitDateTime(Date::factory($this->dateTime)->addHour(0.1)->getDatetime()); |