forked from wallabag/wallabag
@ -2,21 +2,16 @@
|
|||||||
|
|
||||||
namespace Tests\Wallabag\CoreBundle\Helper;
|
namespace Tests\Wallabag\CoreBundle\Helper;
|
||||||
|
|
||||||
use Psr\Log\NullLogger;
|
|
||||||
use Wallabag\CoreBundle\Helper\ContentProxy;
|
|
||||||
use Wallabag\CoreBundle\Entity\Entry;
|
use Wallabag\CoreBundle\Entity\Entry;
|
||||||
use Wallabag\CoreBundle\Entity\Tag;
|
use Wallabag\CoreBundle\Entity\Tag;
|
||||||
use Wallabag\CoreBundle\Helper\TagsAssigner;
|
use Wallabag\CoreBundle\Helper\TagsAssigner;
|
||||||
use Wallabag\UserBundle\Entity\User;
|
use Wallabag\UserBundle\Entity\User;
|
||||||
use Wallabag\CoreBundle\Repository\TagRepository;
|
use Wallabag\CoreBundle\Repository\TagRepository;
|
||||||
use Wallabag\CoreBundle\Helper\RuleBasedTagger;
|
|
||||||
|
|
||||||
class TagsAssignerTest extends \PHPUnit_Framework_TestCase
|
class TagsAssignerTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
public function testAssignTagsWithArrayAndExtraSpaces()
|
public function testAssignTagsWithArrayAndExtraSpaces()
|
||||||
{
|
{
|
||||||
|
|
||||||
$tagRepo = $this->getTagRepositoryMock();
|
$tagRepo = $this->getTagRepositoryMock();
|
||||||
$tagsAssigner = new TagsAssigner($tagRepo);
|
$tagsAssigner = new TagsAssigner($tagRepo);
|
||||||
|
|
||||||
@ -87,7 +82,6 @@ class TagsAssignerTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testAssignTagsNotFlushed()
|
public function testAssignTagsNotFlushed()
|
||||||
{
|
{
|
||||||
|
|
||||||
$tagRepo = $this->getTagRepositoryMock();
|
$tagRepo = $this->getTagRepositoryMock();
|
||||||
$tagRepo->expects($this->never())
|
$tagRepo->expects($this->never())
|
||||||
->method('__call');
|
->method('__call');
|
||||||
|
|||||||
Reference in New Issue
Block a user