diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-10-13 08:54:05 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-10-13 08:54:05 +0400 |
commit | b58efe50ec74ec5f12eb27b5f815b65011af2c68 (patch) | |
tree | 4aa4959cc4488e06928e9f7c9a5030c6e9f3300a /plugins/Goals/tests | |
parent | fbe119f647d2f11f1c0e0908e9ba118dfead096f (diff) |
Fixes #6191 Make sure Goal URL matching uses the RAW URL including any excluded URL parameters. + tests
Diffstat (limited to 'plugins/Goals/tests')
-rw-r--r-- | plugins/Goals/tests/Integration/APITest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Goals/tests/Integration/APITest.php b/plugins/Goals/tests/Integration/APITest.php index 8f64117039..a4e850a51f 100644 --- a/plugins/Goals/tests/Integration/APITest.php +++ b/plugins/Goals/tests/Integration/APITest.php @@ -50,9 +50,9 @@ class APITest extends IntegrationTestCase public function test_addGoal_shouldSucceed_IfOnlyMinimumFieldsGiven() { - $idGoal = $this->api->addGoal($this->idSite, 'MyName', 'url', 'http://www.test.de', 'exact'); + $idGoal = $this->api->addGoal($this->idSite, 'MyName', 'url', 'http://www.test.de/?pk_campaign=1', 'exact'); - $this->assertGoal($idGoal, 'MyName', 'url', 'http://www.test.de', 'exact', 0, 0, 0); + $this->assertGoal($idGoal, 'MyName', 'url', 'http://www.test.de/?pk_campaign=1', 'exact', 0, 0, 0); } public function test_addGoal_ShouldSucceed_IfAllFieldsGiven() |