diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-11-09 16:31:59 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-11-09 16:31:59 +0100 |
commit | f1eccfd63f214dcc730ab0d18a694a5465f425db (patch) | |
tree | e6cbd355f3a360e5619821fb1415ee26a01f11ce /src/Wallabag/CoreBundle/Tests/EventListener | |
parent | 4529d0f4b6b20cbbd1ccb5339a753aff7d35552b (diff) | |
parent | 53cf5106891fc64f3f66cb6b3316654a9620239c (diff) | |
download | wallabag-f1eccfd63f214dcc730ab0d18a694a5465f425db.tar.gz wallabag-f1eccfd63f214dcc730ab0d18a694a5465f425db.tar.zst wallabag-f1eccfd63f214dcc730ab0d18a694a5465f425db.zip |
Merge pull request #1500 from wallabag/v2-quote-pgsql
Fix quote strategy for reserved keyword in Postgres
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/EventListener')
3 files changed, 3 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/EventListener/LocaleListenerTest.php b/src/Wallabag/CoreBundle/Tests/EventListener/LocaleListenerTest.php index 356a411e..d89bee04 100644 --- a/src/Wallabag/CoreBundle/Tests/EventListener/LocaleListenerTest.php +++ b/src/Wallabag/CoreBundle/Tests/EventListener/LocaleListenerTest.php | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\Tests\EventListener; | 3 | namespace Wallabag\CoreBundle\Tests\EventListener; |
4 | 4 | ||
5 | use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | ||
6 | use Symfony\Component\EventDispatcher\EventDispatcher; | 5 | use Symfony\Component\EventDispatcher\EventDispatcher; |
7 | use Symfony\Component\HttpFoundation\Request; | 6 | use Symfony\Component\HttpFoundation\Request; |
8 | use Symfony\Component\HttpKernel\KernelEvents; | 7 | use Symfony\Component\HttpKernel\KernelEvents; |
@@ -12,7 +11,7 @@ use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; | |||
12 | use Symfony\Component\HttpFoundation\Session\Session; | 11 | use Symfony\Component\HttpFoundation\Session\Session; |
13 | use Wallabag\CoreBundle\EventListener\LocaleListener; | 12 | use Wallabag\CoreBundle\EventListener\LocaleListener; |
14 | 13 | ||
15 | class LocaleListenerTest extends KernelTestCase | 14 | class LocaleListenerTest extends \PHPUnit_Framework_TestCase |
16 | { | 15 | { |
17 | private function getEvent(Request $request) | 16 | private function getEvent(Request $request) |
18 | { | 17 | { |
diff --git a/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php b/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php index df94fad2..31283399 100644 --- a/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php +++ b/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\Tests\EventListener; | 3 | namespace Wallabag\CoreBundle\Tests\EventListener; |
4 | 4 | ||
5 | use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | ||
6 | use Symfony\Component\EventDispatcher\EventDispatcher; | 5 | use Symfony\Component\EventDispatcher\EventDispatcher; |
7 | use Symfony\Component\HttpFoundation\Request; | 6 | use Symfony\Component\HttpFoundation\Request; |
8 | use Symfony\Component\HttpFoundation\Response; | 7 | use Symfony\Component\HttpFoundation\Response; |
@@ -12,7 +11,7 @@ use Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener; | |||
12 | use Wallabag\CoreBundle\Entity\Config; | 11 | use Wallabag\CoreBundle\Entity\Config; |
13 | use Wallabag\UserBundle\Entity\User; | 12 | use Wallabag\UserBundle\Entity\User; |
14 | 13 | ||
15 | class RegistrationConfirmedListenerTest extends KernelTestCase | 14 | class RegistrationConfirmedListenerTest extends \PHPUnit_Framework_TestCase |
16 | { | 15 | { |
17 | private $em; | 16 | private $em; |
18 | private $listener; | 17 | private $listener; |
diff --git a/src/Wallabag/CoreBundle/Tests/EventListener/UserLocaleListenerTest.php b/src/Wallabag/CoreBundle/Tests/EventListener/UserLocaleListenerTest.php index e8a65fbf..80ddb457 100644 --- a/src/Wallabag/CoreBundle/Tests/EventListener/UserLocaleListenerTest.php +++ b/src/Wallabag/CoreBundle/Tests/EventListener/UserLocaleListenerTest.php | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\Tests\EventListener; | 3 | namespace Wallabag\CoreBundle\Tests\EventListener; |
4 | 4 | ||
5 | use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | ||
6 | use Symfony\Component\HttpFoundation\Request; | 5 | use Symfony\Component\HttpFoundation\Request; |
7 | use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; | 6 | use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage; |
8 | use Symfony\Component\HttpFoundation\Session\Session; | 7 | use Symfony\Component\HttpFoundation\Session\Session; |
@@ -12,7 +11,7 @@ use Wallabag\CoreBundle\EventListener\UserLocaleListener; | |||
12 | use Wallabag\CoreBundle\Entity\Config; | 11 | use Wallabag\CoreBundle\Entity\Config; |
13 | use Wallabag\UserBundle\Entity\User; | 12 | use Wallabag\UserBundle\Entity\User; |
14 | 13 | ||
15 | class UserLocaleListenerTest extends KernelTestCase | 14 | class UserLocaleListenerTest extends \PHPUnit_Framework_TestCase |
16 | { | 15 | { |
17 | public function testWithLanguage() | 16 | public function testWithLanguage() |
18 | { | 17 | { |