forked from wallabag/wallabag
CS
This commit is contained in:
@ -4,7 +4,6 @@ namespace Wallabag\CoreBundle\DataFixtures;
|
|||||||
|
|
||||||
use Craue\ConfigBundle\Entity\Setting;
|
use Craue\ConfigBundle\Entity\Setting;
|
||||||
use Doctrine\Bundle\FixturesBundle\Fixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
|
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
namespace Wallabag\CoreBundle\DataFixtures;
|
namespace Wallabag\CoreBundle\DataFixtures;
|
||||||
|
|
||||||
use Doctrine\Bundle\FixturesBundle\Fixture;
|
use Doctrine\Bundle\FixturesBundle\Fixture;
|
||||||
use Doctrine\Common\DataFixtures\DependentFixtureInterface;
|
|
||||||
use Doctrine\Common\Persistence\ObjectManager;
|
use Doctrine\Common\Persistence\ObjectManager;
|
||||||
use Wallabag\CoreBundle\Entity\Tag;
|
use Wallabag\CoreBundle\Entity\Tag;
|
||||||
|
|
||||||
|
|||||||
@ -940,7 +940,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
|
|||||||
|
|
||||||
$content = json_decode($this->client->getResponse()->getContent(), true);
|
$content = json_decode($this->client->getResponse()->getContent(), true);
|
||||||
|
|
||||||
$this->assertSame(true, $content['exists']);
|
$this->assertTrue($content['exists']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetEntriesExistsWithManyUrls()
|
public function testGetEntriesExistsWithManyUrls()
|
||||||
|
|||||||
@ -58,7 +58,7 @@ abstract class WallabagApiTestCase extends WebTestCase
|
|||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getUserId($username = 'admin')
|
protected function getUserId($username = 'admin')
|
||||||
{
|
{
|
||||||
return $this->client
|
return $this->client
|
||||||
->getContainer()
|
->getContainer()
|
||||||
|
|||||||
Reference in New Issue
Block a user