aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/UserBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-12-16 22:17:42 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-12-18 13:29:33 +0100
commitbd91bd5c32dcec997e1cc1aff93f585dac093742 (patch)
tree02be54155fe8ffb87d73a225bec6555f86056210 /tests/Wallabag/UserBundle
parent3ccf086391588b1eb0f6d7bcc420ed529f7fdd8f (diff)
downloadwallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.gz
wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.zst
wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.zip
Use namespaced PHPUnit classes
Diffstat (limited to 'tests/Wallabag/UserBundle')
-rw-r--r--tests/Wallabag/UserBundle/EventListener/AuthenticationFailureListenerTest.php3
-rw-r--r--tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php3
-rw-r--r--tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php3
3 files changed, 6 insertions, 3 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
5use Monolog\Handler\TestHandler; 5use Monolog\Handler\TestHandler;
6use Monolog\Logger; 6use Monolog\Logger;
7use PHPUnit\Framework\TestCase;
7use Symfony\Component\EventDispatcher\EventDispatcher; 8use Symfony\Component\EventDispatcher\EventDispatcher;
8use Symfony\Component\HttpFoundation\Request; 9use Symfony\Component\HttpFoundation\Request;
9use Symfony\Component\HttpFoundation\RequestStack; 10use Symfony\Component\HttpFoundation\RequestStack;
@@ -11,7 +12,7 @@ use Symfony\Component\Security\Core\AuthenticationEvents;
11use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent; 12use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
12use Wallabag\UserBundle\EventListener\AuthenticationFailureListener; 13use Wallabag\UserBundle\EventListener\AuthenticationFailureListener;
13 14
14class AuthenticationFailureListenerTest extends \PHPUnit_Framework_TestCase 15class AuthenticationFailureListenerTest extends TestCase
15{ 16{
16 private $requestStack; 17 private $requestStack;
17 private $logHandler; 18 private $logHandler;
diff --git a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php
index e5a145b8..2b540fdf 100644
--- a/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php
+++ b/tests/Wallabag/UserBundle/EventListener/CreateConfigListenerTest.php
@@ -4,6 +4,7 @@ namespace Tests\Wallabag\UserBundle\EventListener;
4 4
5use FOS\UserBundle\Event\FilterUserResponseEvent; 5use FOS\UserBundle\Event\FilterUserResponseEvent;
6use FOS\UserBundle\FOSUserEvents; 6use FOS\UserBundle\FOSUserEvents;
7use PHPUnit\Framework\TestCase;
7use Symfony\Component\EventDispatcher\EventDispatcher; 8use Symfony\Component\EventDispatcher\EventDispatcher;
8use Symfony\Component\HttpFoundation\Request; 9use Symfony\Component\HttpFoundation\Request;
9use Symfony\Component\HttpFoundation\Response; 10use Symfony\Component\HttpFoundation\Response;
@@ -11,7 +12,7 @@ use Wallabag\CoreBundle\Entity\Config;
11use Wallabag\UserBundle\Entity\User; 12use Wallabag\UserBundle\Entity\User;
12use Wallabag\UserBundle\EventListener\CreateConfigListener; 13use Wallabag\UserBundle\EventListener\CreateConfigListener;
13 14
14class CreateConfigListenerTest extends \PHPUnit_Framework_TestCase 15class CreateConfigListenerTest extends TestCase
15{ 16{
16 private $em; 17 private $em;
17 private $listener; 18 private $listener;
diff --git a/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php b/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php
index 7381ccf1..f39fa60e 100644
--- a/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php
+++ b/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php
@@ -2,6 +2,7 @@
2 2
3namespace Tests\Wallabag\UserBundle\Mailer; 3namespace Tests\Wallabag\UserBundle\Mailer;
4 4
5use PHPUnit\Framework\TestCase;
5use Wallabag\UserBundle\Entity\User; 6use Wallabag\UserBundle\Entity\User;
6use Wallabag\UserBundle\Mailer\AuthCodeMailer; 7use Wallabag\UserBundle\Mailer\AuthCodeMailer;
7 8
@@ -21,7 +22,7 @@ final class CountableMemorySpool extends \Swift_MemorySpool implements \Countabl
21 } 22 }
22} 23}
23 24
24class AuthCodeMailerTest extends \PHPUnit_Framework_TestCase 25class AuthCodeMailerTest extends TestCase
25{ 26{
26 protected $mailer; 27 protected $mailer;
27 protected $spool; 28 protected $spool;