use Monolog\Handler\TestHandler;
use Monolog\Logger;
+use PHPUnit\Framework\TestCase;
use Wallabag\CoreBundle\Entity\Config;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;
use Wallabag\CoreBundle\Helper\RuleBasedTagger;
use Wallabag\UserBundle\Entity\User;
-class RuleBasedTaggerTest extends \PHPUnit_Framework_TestCase
+class RuleBasedTaggerTest extends TestCase
{
private $rulerz;
private $tagRepository;
$tags = $entry->getTags();
$this->assertCount(1, $tags);
- $this->assertEquals('hey', $tags[0]->getLabel());
+ $this->assertSame('hey', $tags[0]->getLabel());
}
}