diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-12-16 22:38:07 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-12-18 13:29:33 +0100 |
commit | 4b6942d2d8555b0dca7f0b8d521a87415ff81e7c (patch) | |
tree | cab72a16c7040a40aa1860050cb773f0b2010f7c /tests/Wallabag/CoreBundle/Event/Listener | |
parent | 26e2f07419c9a16c2a304baa6d2cd36d6dddcd80 (diff) | |
download | wallabag-4b6942d2d8555b0dca7f0b8d521a87415ff81e7c.tar.gz wallabag-4b6942d2d8555b0dca7f0b8d521a87415ff81e7c.tar.zst wallabag-4b6942d2d8555b0dca7f0b8d521a87415ff81e7c.zip |
Add missing TestCase namespace
Diffstat (limited to 'tests/Wallabag/CoreBundle/Event/Listener')
-rw-r--r-- | tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php | 3 | ||||
-rw-r--r-- | tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php b/tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php index 0dbd9f70..bc35d100 100644 --- a/tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php +++ b/tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | namespace Tests\Wallabag\CoreBundle\Event\Listener; | 3 | namespace Tests\Wallabag\CoreBundle\Event\Listener; |
4 | 4 | ||
5 | use PHPUnit\Framework\TestCase; | ||
5 | use Symfony\Component\EventDispatcher\EventDispatcher; | 6 | use Symfony\Component\EventDispatcher\EventDispatcher; |
6 | use Symfony\Component\HttpFoundation\Request; | 7 | use Symfony\Component\HttpFoundation\Request; |
7 | use Symfony\Component\HttpFoundation\Session\Session; | 8 | use Symfony\Component\HttpFoundation\Session\Session; |
@@ -11,7 +12,7 @@ use Symfony\Component\HttpKernel\HttpKernelInterface; | |||
11 | use Symfony\Component\HttpKernel\KernelEvents; | 12 | use Symfony\Component\HttpKernel\KernelEvents; |
12 | use Wallabag\CoreBundle\Event\Listener\LocaleListener; | 13 | use Wallabag\CoreBundle\Event\Listener\LocaleListener; |
13 | 14 | ||
14 | class LocaleListenerTest extends \PHPUnit_Framework_TestCase | 15 | class LocaleListenerTest extends TestCase |
15 | { | 16 | { |
16 | public function testWithoutSession() | 17 | public function testWithoutSession() |
17 | { | 18 | { |
diff --git a/tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php b/tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php index 5ffe1ca6..93edfde8 100644 --- a/tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php +++ b/tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | namespace Tests\Wallabag\CoreBundle\Event\Listener; | 3 | namespace Tests\Wallabag\CoreBundle\Event\Listener; |
4 | 4 | ||
5 | use PHPUnit\Framework\TestCase; | ||
5 | use Symfony\Component\HttpFoundation\Request; | 6 | use Symfony\Component\HttpFoundation\Request; |
6 | use Symfony\Component\HttpFoundation\Session\Session; | 7 | use Symfony\Component\HttpFoundation\Session\Session; |
7 | use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; | 8 | use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; |
@@ -11,7 +12,7 @@ use Wallabag\CoreBundle\Entity\Config; | |||
11 | use Wallabag\CoreBundle\Event\Listener\UserLocaleListener; | 12 | use Wallabag\CoreBundle\Event\Listener\UserLocaleListener; |
12 | use Wallabag\UserBundle\Entity\User; | 13 | use Wallabag\UserBundle\Entity\User; |
13 | 14 | ||
14 | class UserLocaleListenerTest extends \PHPUnit_Framework_TestCase | 15 | class UserLocaleListenerTest extends TestCase |
15 | { | 16 | { |
16 | public function testWithLanguage() | 17 | public function testWithLanguage() |
17 | { | 18 | { |