forked from wallabag/wallabag
Replace Client by KernelBrowser
This commit is contained in:
@ -5,7 +5,7 @@ namespace Tests\Wallabag\AnnotationBundle;
|
||||
use FOS\UserBundle\Model\UserInterface;
|
||||
use FOS\UserBundle\Model\UserManager;
|
||||
use FOS\UserBundle\Security\LoginManager;
|
||||
use Symfony\Bundle\FrameworkBundle\Client;
|
||||
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
use Symfony\Component\BrowserKit\Cookie;
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
@ -14,7 +14,7 @@ use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInt
|
||||
abstract class WallabagAnnotationTestCase extends WebTestCase
|
||||
{
|
||||
/**
|
||||
* @var Client
|
||||
* @var KernelBrowser
|
||||
*/
|
||||
protected $client = null;
|
||||
|
||||
@ -42,7 +42,7 @@ abstract class WallabagAnnotationTestCase extends WebTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Client
|
||||
* @return KernelBrowser
|
||||
*/
|
||||
protected function createAuthorizedClient()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user