diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Wallabag/CoreBundle/Helper/TagsAssignerTest.php | 6 |
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 | ||
3 | namespace Tests\Wallabag\CoreBundle\Helper; | 3 | namespace Tests\Wallabag\CoreBundle\Helper; |
4 | 4 | ||
5 | use Psr\Log\NullLogger; | ||
6 | use Wallabag\CoreBundle\Helper\ContentProxy; | ||
7 | use Wallabag\CoreBundle\Entity\Entry; | 5 | use Wallabag\CoreBundle\Entity\Entry; |
8 | use Wallabag\CoreBundle\Entity\Tag; | 6 | use Wallabag\CoreBundle\Entity\Tag; |
9 | use Wallabag\CoreBundle\Helper\TagsAssigner; | 7 | use Wallabag\CoreBundle\Helper\TagsAssigner; |
10 | use Wallabag\UserBundle\Entity\User; | 8 | use Wallabag\UserBundle\Entity\User; |
11 | use Wallabag\CoreBundle\Repository\TagRepository; | 9 | use Wallabag\CoreBundle\Repository\TagRepository; |
12 | use Wallabag\CoreBundle\Helper\RuleBasedTagger; | ||
13 | 10 | ||
14 | class TagsAssignerTest extends \PHPUnit_Framework_TestCase | 11 | class 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'); |