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>2016-04-06 06:29:18 +0300
committerThomas Steur <thomas.steur@gmail.com>2016-04-06 06:29:18 +0300
commit3eb0cf055146c0b77b592cf9ef4bf2eb2e2f1ca3 (patch)
tree99817781db0a0626fa4d14f96697f6e04e66f983 /plugins/Goals/tests/Integration/APITest.php
parent1854f5c456a76af807431d52bcb19ad207ba658e (diff)
parent0f38083969261b95a00c59f1f5596d35365506cd (diff)
Merge branch 'master' into 3.0-m03
Conflicts: core/Version.php core/WidgetsList.php plugins/CustomDimensions plugins/Goals/templates/getGoalReportView.twig plugins/Goals/templates/getOverviewView.twig tests/UI/expected-ui-screenshots
Diffstat (limited to 'plugins/Goals/tests/Integration/APITest.php')
-rw-r--r--plugins/Goals/tests/Integration/APITest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Goals/tests/Integration/APITest.php b/plugins/Goals/tests/Integration/APITest.php
index 913bebf0a6..7dcb79eef5 100644
--- a/plugins/Goals/tests/Integration/APITest.php
+++ b/plugins/Goals/tests/Integration/APITest.php
@@ -62,6 +62,13 @@ class APITest extends IntegrationTestCase
$this->assertGoal($idGoal, 'MyName', 'url', 'http://www.test.de', 'exact', 1, 50, 1);
}
+ public function test_addGoal_ShouldSucceed_IfExactPageTitle()
+ {
+ $idGoal = $this->api->addGoal($this->idSite, 'MyName', 'title', 'normal title', 'exact', true, 50, true);
+
+ $this->assertGoal($idGoal, 'MyName', 'title', 'normal title', 'exact', 1, 50, 1);
+ }
+
/**
* @expectedException \Exception
* @expectedExceptionMessage Goals_ExceptionInvalidMatchingString