diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-12-16 22:17:42 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-12-18 13:29:33 +0100 |
commit | bd91bd5c32dcec997e1cc1aff93f585dac093742 (patch) | |
tree | 02be54155fe8ffb87d73a225bec6555f86056210 /tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php | |
parent | 3ccf086391588b1eb0f6d7bcc420ed529f7fdd8f (diff) | |
download | wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.gz wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.zst wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.zip |
Use namespaced PHPUnit classes
Diffstat (limited to 'tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php')
-rw-r--r-- | tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php b/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php index 9e33cdca..6e37cfc4 100644 --- a/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php +++ b/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php | |||
@@ -4,6 +4,7 @@ namespace Tests\Wallabag\UserBundle\EventListener; | |||
4 | 4 | ||
5 | use Monolog\Handler\TestHandler; | 5 | use Monolog\Handler\TestHandler; |
6 | use Monolog\Logger; | 6 | use Monolog\Logger; |
7 | use PHPUnit\Framework\TestCase; | ||
7 | use Symfony\Component\EventDispatcher\EventDispatcher; | 8 | use Symfony\Component\EventDispatcher\EventDispatcher; |
8 | use Symfony\Component\HttpFoundation\Request; | 9 | use Symfony\Component\HttpFoundation\Request; |
9 | use Symfony\Component\HttpFoundation\RequestStack; | 10 | use Symfony\Component\HttpFoundation\RequestStack; |
@@ -11,7 +12,7 @@ use Symfony\Component\Security\Core\AuthenticationEvents; | |||
11 | use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; | 12 | use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; |
12 | use Wallabag\UserBundle\EventListener\AuthenticationFailureListener; | 13 | use Wallabag\UserBundle\EventListener\AuthenticationFailureListener; |
13 | 14 | ||
14 | class AuthenticationFailureListenerTest extends \PHPUnit_Framework_TestCase | 15 | class AuthenticationFailureListenerTest extends TestCase |
15 | { | 16 | { |
16 | private $requestStack; | 17 | private $requestStack; |
17 | private $logHandler; | 18 | private $logHandler; |