use Craue\ConfigBundle\Entity\Setting;
use Doctrine\Bundle\FixturesBundle\Fixture;
-use Doctrine\Common\DataFixtures\DependentFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
namespace Wallabag\CoreBundle\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
-use Doctrine\Common\DataFixtures\DependentFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Wallabag\CoreBundle\Entity\Tag;
$content = json_decode($this->client->getResponse()->getContent(), true);
- $this->assertSame(true, $content['exists']);
+ $this->assertTrue($content['exists']);
}
public function testGetEntriesExistsWithManyUrls()
* Used because on heavy testing we don't want to re-create the database on each run.
* Which means "admin" user won't have id 1 all the time.
*
- * @param string $username
+ * @param string $username
*
* @return int
*/
- public function getUserId($username = 'admin')
+ protected function getUserId($username = 'admin')
{
return $this->client
->getContainer()