aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-05-28 12:59:48 +0200
committerThomas Citharel <tcit@tcit.fr>2017-05-28 12:59:48 +0200
commitde8d2a9005321a935e52f4471f031f73bb240412 (patch)
tree520242e7454abd9e4562d250a5be46496d41b9a6 /tests/Wallabag
parent5d3deafd3efc04df53fc24ee82a49988f72756dd (diff)
downloadwallabag-de8d2a9005321a935e52f4471f031f73bb240412.tar.gz
wallabag-de8d2a9005321a935e52f4471f031f73bb240412.tar.zst
wallabag-de8d2a9005321a935e52f4471f031f73bb240412.zip
CS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'tests/Wallabag')
-rw-r--r--tests/Wallabag/CoreBundle/Helper/TagsAssignerTest.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/Wallabag/CoreBundle/Helper/TagsAssignerTest.php b/tests/Wallabag/CoreBundle/Helper/TagsAssignerTest.php
index bc59eeab..6d6d6484 100644
--- a/tests/Wallabag/CoreBundle/Helper/TagsAssignerTest.php
+++ b/tests/Wallabag/CoreBundle/Helper/TagsAssignerTest.php
@@ -2,21 +2,16 @@
2 2
3namespace Tests\Wallabag\CoreBundle\Helper; 3namespace Tests\Wallabag\CoreBundle\Helper;
4 4
5use Psr\Log\NullLogger;
6use Wallabag\CoreBundle\Helper\ContentProxy;
7use Wallabag\CoreBundle\Entity\Entry; 5use Wallabag\CoreBundle\Entity\Entry;
8use Wallabag\CoreBundle\Entity\Tag; 6use Wallabag\CoreBundle\Entity\Tag;
9use Wallabag\CoreBundle\Helper\TagsAssigner; 7use Wallabag\CoreBundle\Helper\TagsAssigner;
10use Wallabag\UserBundle\Entity\User; 8use Wallabag\UserBundle\Entity\User;
11use Wallabag\CoreBundle\Repository\TagRepository; 9use Wallabag\CoreBundle\Repository\TagRepository;
12use Wallabag\CoreBundle\Helper\RuleBasedTagger;
13 10
14class TagsAssignerTest extends \PHPUnit_Framework_TestCase 11class TagsAssignerTest extends \PHPUnit_Framework_TestCase
15{ 12{
16
17 public function testAssignTagsWithArrayAndExtraSpaces() 13 public function testAssignTagsWithArrayAndExtraSpaces()
18 { 14 {
19
20 $tagRepo = $this->getTagRepositoryMock(); 15 $tagRepo = $this->getTagRepositoryMock();
21 $tagsAssigner = new TagsAssigner($tagRepo); 16 $tagsAssigner = new TagsAssigner($tagRepo);
22 17
@@ -87,7 +82,6 @@ class TagsAssignerTest extends \PHPUnit_Framework_TestCase
87 82
88 public function testAssignTagsNotFlushed() 83 public function testAssignTagsNotFlushed()
89 { 84 {
90
91 $tagRepo = $this->getTagRepositoryMock(); 85 $tagRepo = $this->getTagRepositoryMock();
92 $tagRepo->expects($this->never()) 86 $tagRepo->expects($this->never())
93 ->method('__call'); 87 ->method('__call');