diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-28 12:59:48 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-05-28 12:59:48 +0200 |
commit | de8d2a9005321a935e52f4471f031f73bb240412 (patch) | |
tree | 520242e7454abd9e4562d250a5be46496d41b9a6 /tests | |
parent | 5d3deafd3efc04df53fc24ee82a49988f72756dd (diff) | |
download | wallabag-de8d2a9005321a935e52f4471f031f73bb240412.tar.gz wallabag-de8d2a9005321a935e52f4471f031f73bb240412.tar.zst wallabag-de8d2a9005321a935e52f4471f031f73bb240412.zip |
CS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
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'); |