This commit is contained in:
Jeremy Benoist 2018-11-26 22:46:44 +01:00
parent 8f2038e5b1
commit b13b2ef052
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
4 changed files with 3 additions and 5 deletions

View file

@ -4,7 +4,6 @@ namespace Wallabag\CoreBundle\DataFixtures;
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;

View file

@ -3,7 +3,6 @@
namespace Wallabag\CoreBundle\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
use Doctrine\Common\Persistence\ObjectManager;
use Wallabag\CoreBundle\Entity\Tag;

View file

@ -940,7 +940,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
$content = json_decode($this->client->getResponse()->getContent(), true);
$this->assertSame(true, $content['exists']);
$this->assertTrue($content['exists']);
}
public function testGetEntriesExistsWithManyUrls()

View file

@ -54,11 +54,11 @@ abstract class WallabagApiTestCase extends WebTestCase
* 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()