X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FUserBundle%2FEventListener%2FCreateConfigListenerTest.php;h=2b540fdfeb334c20bb64953a340ec1e2c3db6f24;hb=bd91bd5c32dcec997e1cc1aff93f585dac093742;hp=a78b77bc37c332c628e7b405732a3339413899db;hpb=57386125abc5c50c1438cf7e78d01f06021adc0a;p=github%2Fwallabag%2Fwallabag.git diff --git a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php index a78b77bc..2b540fdf 100644 --- a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php +++ b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php @@ -4,14 +4,15 @@ namespace Tests\Wallabag\UserBundle\EventListener; use FOS\UserBundle\Event\FilterUserResponseEvent; use FOS\UserBundle\FOSUserEvents; +use PHPUnit\Framework\TestCase; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Wallabag\CoreBundle\Entity\Config; -use Wallabag\UserBundle\EventListener\CreateConfigListener; use Wallabag\UserBundle\Entity\User; +use Wallabag\UserBundle\EventListener\CreateConfigListener; -class CreateConfigListenerTest extends \PHPUnit_Framework_TestCase +class CreateConfigListenerTest extends TestCase { private $em; private $listener; @@ -31,6 +32,8 @@ class CreateConfigListenerTest extends \PHPUnit_Framework_TestCase 20, 50, 'fr', + 1, + 1, 1 );