aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-12-18 14:32:21 +0100
committerGitHub <noreply@github.com>2017-12-18 14:32:21 +0100
commitef5c8a7d01d7b3f0041455503499ab67e2206e0d (patch)
tree66fad00b695ceb24a5a3ee7ef3185c18050f316f /tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php
parent01ea7f585504fba74bd138386ca30ca4d26cfe65 (diff)
parentad880894a8dc0af97ee145f76ed10ca99e1ebf5a (diff)
downloadwallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.tar.gz
wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.tar.zst
wallabag-ef5c8a7d01d7b3f0041455503499ab67e2206e0d.zip
Merge pull request #3515 from wallabag/php-7.2
Add PHP 7.2 compatibility
Diffstat (limited to 'tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php3
1 files changed, 2 insertions, 1 deletions
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
3namespace Tests\Wallabag\CoreBundle\Event\Listener; 3namespace Tests\Wallabag\CoreBundle\Event\Listener;
4 4
5use PHPUnit\Framework\TestCase;
5use Symfony\Component\HttpFoundation\Request; 6use Symfony\Component\HttpFoundation\Request;
6use Symfony\Component\HttpFoundation\Session\Session; 7use Symfony\Component\HttpFoundation\Session\Session;
7use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; 8use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
@@ -11,7 +12,7 @@ use Wallabag\CoreBundle\Entity\Config;
11use Wallabag\CoreBundle\Event\Listener\UserLocaleListener; 12use Wallabag\CoreBundle\Event\Listener\UserLocaleListener;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class UserLocaleListenerTest extends \PHPUnit_Framework_TestCase 15class UserLocaleListenerTest extends TestCase
15{ 16{
16 public function testWithLanguage() 17 public function testWithLanguage()
17 { 18 {