aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/DataFixtures
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-04-20 14:58:20 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-04-20 15:17:02 +0200
commitfdd725f58cfe96d9bb9454d0347f6ff847fce69d (patch)
tree7f70e8d3b766d8a8ffc7cd807ca7a2a16d5f2bda /src/Wallabag/CoreBundle/DataFixtures
parent64f1d8f77a75332b731124c5ebab4bed7a512081 (diff)
downloadwallabag-fdd725f58cfe96d9bb9454d0347f6ff847fce69d.tar.gz
wallabag-fdd725f58cfe96d9bb9454d0347f6ff847fce69d.tar.zst
wallabag-fdd725f58cfe96d9bb9454d0347f6ff847fce69d.zip
Added notmatches operator for tagging rule
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures')
-rw-r--r--src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php
index 7efe6356..55abd63c 100644
--- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php
+++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadTaggingRuleData.php
@@ -36,6 +36,13 @@ class LoadTaggingRuleData extends AbstractFixture implements OrderedFixtureInter
36 36
37 $manager->persist($tr3); 37 $manager->persist($tr3);
38 38
39 $tr4 = new TaggingRule();
40 $tr4->setRule('content notmatches "basket"');
41 $tr4->setTags(['foot']);
42 $tr4->setConfig($this->getReference('admin-config'));
43
44 $manager->persist($tr4);
45
39 $manager->flush(); 46 $manager->flush();
40 } 47 }
41 48