X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FUserBundle%2FEventListener%2FAuthenticationFailureListenerTest.php;h=6e37cfc4827ed2300bbaa639e17120640b03b4c7;hb=ef5c8a7d01d7b3f0041455503499ab67e2206e0d;hp=6191ea131e91527dba183ca6c01eda4d17e67893;hpb=f81a34e37929a822755d120215d2f18f042ff713;p=github%2Fwallabag%2Fwallabag.git diff --git a/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php b/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php index 6191ea13..6e37cfc4 100644 --- a/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php +++ b/tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php @@ -2,16 +2,17 @@ namespace Tests\Wallabag\UserBundle\EventListener; +use Monolog\Handler\TestHandler; +use Monolog\Logger; +use PHPUnit\Framework\TestCase; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; -use Wallabag\UserBundle\EventListener\AuthenticationFailureListener; -use Monolog\Logger; -use Monolog\Handler\TestHandler; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Component\Security\Core\AuthenticationEvents; use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; +use Wallabag\UserBundle\EventListener\AuthenticationFailureListener; -class AuthenticationFailureListenerTest extends \PHPUnit_Framework_TestCase +class AuthenticationFailureListenerTest extends TestCase { private $requestStack; private $logHandler;