From 4b6942d2d8555b0dca7f0b8d521a87415ff81e7c Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sat, 16 Dec 2017 22:38:07 +0100 Subject: Add missing TestCase namespace --- tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php | 3 ++- tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/Wallabag/CoreBundle/Event/Listener') 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 @@ namespace Tests\Wallabag\CoreBundle\Event\Listener; +use PHPUnit\Framework\TestCase; use Symfony\Component\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\Session; @@ -11,7 +12,7 @@ use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\HttpKernel\KernelEvents; use Wallabag\CoreBundle\Event\Listener\LocaleListener; -class LocaleListenerTest extends \PHPUnit_Framework_TestCase +class LocaleListenerTest extends TestCase { public function testWithoutSession() { 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 @@ namespace Tests\Wallabag\CoreBundle\Event\Listener; +use PHPUnit\Framework\TestCase; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Session\Session; use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; @@ -11,7 +12,7 @@ use Wallabag\CoreBundle\Entity\Config; use Wallabag\CoreBundle\Event\Listener\UserLocaleListener; use Wallabag\UserBundle\Entity\User; -class UserLocaleListenerTest extends \PHPUnit_Framework_TestCase +class UserLocaleListenerTest extends TestCase { public function testWithLanguage() { -- cgit v1.2.3