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:
authorStefan Giehl <stefan@piwik.org>2016-09-26 01:22:41 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-09-26 01:22:41 +0300
commitab3eba1b854e978ed4f3bcb3b144a4fff2964aab (patch)
tree57c7580412f5c8f79dda5da50d60056ff0ee209e /tests/resources
parentcdebeec92390879f2ae4c7cbacd0969d8f735e41 (diff)
Adds possibility to define a goal description (#10057)
* Adds possibility to define goal description * update db schema * fixed tests * show goal description in goal reports * fix tests
Diffstat (limited to 'tests/resources')
-rw-r--r--tests/resources/OmniFixture-dump.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/resources/OmniFixture-dump.sql b/tests/resources/OmniFixture-dump.sql
index 1f7542fcbb..350c46c1d1 100644
--- a/tests/resources/OmniFixture-dump.sql
+++ b/tests/resources/OmniFixture-dump.sql
@@ -179,6 +179,7 @@ CREATE TABLE `goal` (
`idsite` int(11) NOT NULL,
`idgoal` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
+ `description` VARCHAR(255) NOT NULL DEFAULT '',
`match_attribute` varchar(20) NOT NULL,
`pattern` varchar(255) NOT NULL,
`pattern_type` varchar(10) NOT NULL,
@@ -196,7 +197,7 @@ CREATE TABLE `goal` (
LOCK TABLES `goal` WRITE;
/*!40000 ALTER TABLE `goal` DISABLE KEYS */;
-INSERT INTO `goal` VALUES (1,1,'<script>$(\'body\').html(\'goal name XSS!\');</script>','url','http','contains',0,1,5,0),(1,2,'two','url','xxxxxxxxxxxxx','contains',0,0,5,0),(1,3,'click event','event_action','click','contains',0,0,0,0),(1,4,'category event','event_category','The_Category','exact',1,0,0,0),(1,5,'name event','event_name','<the_\'\"name>','exact',0,0,0,0);
+INSERT INTO `goal` VALUES (1,1,'<script>$(\'body\').html(\'goal name XSS!\');</script>','<script>$(\'body\').html(\'goal description XSS!\');</script>','url','http','contains',0,1,5,0),(1,2,'two','twodesc','url','xxxxxxxxxxxxx','contains',0,0,5,0),(1,3,'click event','','event_action','click','contains',0,0,0,0),(1,4,'category event','categorydesc','event_category','The_Category','exact',1,0,0,0),(1,5,'name event','eventdesc','event_name','<the_\'\"name>','exact',0,0,0,0);
/*!40000 ALTER TABLE `goal` ENABLE KEYS */;
UNLOCK TABLES;