forked from wallabag/wallabag
Jump to Symfony 3.4
Thanks to the BC compatibility, almost nothing have to be changed. All changes are related to new bundle version of: - SensioFrameworkExtraBundle - DoctrineFixturesBundle
This commit is contained in:
@ -121,7 +121,7 @@ class DeveloperControllerTest extends WallabagCoreTestCase
|
||||
{
|
||||
$client = $this->getClient();
|
||||
$em = $client->getContainer()->get('doctrine.orm.entity_manager');
|
||||
$userManager = $client->getContainer()->get('fos_user.user_manager');
|
||||
$userManager = $client->getContainer()->get('fos_user.user_manager.test');
|
||||
$user = $userManager->findUserBy(['username' => $username]);
|
||||
$apiClient = new Client($user);
|
||||
$apiClient->setName('My app');
|
||||
|
||||
Reference in New Issue
Block a user