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 | |
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')
3 files changed, 6 insertions, 3 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 | { |
diff --git a/tests/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriberTest.php b/tests/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriberTest.php index 64e3c6d9..06f85237 100644 --- a/tests/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriberTest.php +++ b/tests/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriberTest.php | |||
@@ -5,9 +5,10 @@ namespace Tests\Wallabag\CoreBundle\Event\Subscriber; | |||
5 | use Doctrine\Common\EventManager; | 5 | use Doctrine\Common\EventManager; |
6 | use Doctrine\ORM\Event\LoadClassMetadataEventArgs; | 6 | use Doctrine\ORM\Event\LoadClassMetadataEventArgs; |
7 | use Doctrine\ORM\Mapping\ClassMetadata; | 7 | use Doctrine\ORM\Mapping\ClassMetadata; |
8 | use PHPUnit\Framework\TestCase; | ||
8 | use Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber; | 9 | use Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber; |
9 | 10 | ||
10 | class TablePrefixSubscriberTest extends \PHPUnit_Framework_TestCase | 11 | class TablePrefixSubscriberTest extends TestCase |
11 | { | 12 | { |
12 | public function dataForPrefix() | 13 | public function dataForPrefix() |
13 | { | 14 | { |