]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ApiBundle/Tests/WallabagApiTestCase.php
Convert array + phpDoc
[github/wallabag/wallabag.git] / src / Wallabag / ApiBundle / Tests / WallabagApiTestCase.php
index a415c749c64defe3f257d26c5542f90027881eb9..13d72d2c4bf20a5a0781fff54a0a5d57ce07715a 100644 (file)
@@ -36,7 +36,7 @@ abstract class WallabagApiTestCase extends WebTestCase
         $loginManager = $container->get('fos_user.security.login_manager');
         $firewallName = $container->getParameter('fos_user.firewall_name');
 
-        $this->user = $userManager->findUserBy(array('username' => 'admin'));
+        $this->user = $userManager->findUserBy(['username' => 'admin']);
         $loginManager->loginUser($firewallName, $this->user);
 
         // save the login token into the session and put it in a cookie