]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add missing TestCase namespace
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 16 Dec 2017 21:38:07 +0000 (22:38 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Mon, 18 Dec 2017 12:29:33 +0000 (13:29 +0100)
tests/Wallabag/CoreBundle/Event/Listener/LocaleListenerTest.php
tests/Wallabag/CoreBundle/Event/Listener/UserLocaleListenerTest.php
tests/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriberTest.php
tests/Wallabag/CoreBundle/Form/DataTransformer/StringToListTransformerTest.php
tests/Wallabag/CoreBundle/GuzzleSiteAuthenticator/GrabySiteConfigBuilderTest.php

index 0dbd9f70d11c89a4ffa4f7093e01c451a5b12ba2..bc35d1000839a573d8622172fbf1d798c3e7356f 100644 (file)
@@ -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()
     {
index 5ffe1ca6d85468e6f3dd9c90e036ae488912ff54..93edfde8c8421977dfa018ef4aae29ac96967f57 100644 (file)
@@ -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()
     {
index 64e3c6d9998eadaae58201c4e1dfa3dd2d48c1b3..06f85237395e8b19f541dbcd3b074a46e2944b41 100644 (file)
@@ -5,9 +5,10 @@ namespace Tests\Wallabag\CoreBundle\Event\Subscriber;
 use Doctrine\Common\EventManager;
 use Doctrine\ORM\Event\LoadClassMetadataEventArgs;
 use Doctrine\ORM\Mapping\ClassMetadata;
+use PHPUnit\Framework\TestCase;
 use Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber;
 
-class TablePrefixSubscriberTest extends \PHPUnit_Framework_TestCase
+class TablePrefixSubscriberTest extends TestCase
 {
     public function dataForPrefix()
     {
index 0ec98c1fbf3b471df5b5c348745856442b9399c9..ef058a8c0eed9604e7f502226b55b81fa72f6efa 100644 (file)
@@ -2,9 +2,10 @@
 
 namespace Tests\Wallabag\CoreBundle\Form\DataTransformer;
 
+use PHPUnit\Framework\TestCase;
 use Wallabag\CoreBundle\Form\DataTransformer\StringToListTransformer;
 
-class StringToListTransformerTest extends \PHPUnit_Framework_TestCase
+class StringToListTransformerTest extends TestCase
 {
     /**
      * @dataProvider transformProvider
index 5aee9f5c0003d04324cd9403b7f6322492460679..1173fc3dee8f4a858ceaba71658a7281aa243ab3 100644 (file)
@@ -5,11 +5,12 @@ namespace Tests\Wallabag\CoreBundle\GuzzleSiteAuthenticator;
 use Graby\SiteConfig\SiteConfig as GrabySiteConfig;
 use Monolog\Handler\TestHandler;
 use Monolog\Logger;
+use PHPUnit\Framework\TestCase;
 use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
 use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
 use Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder;
 
-class GrabySiteConfigBuilderTest extends \PHPUnit_Framework_TestCase
+class GrabySiteConfigBuilderTest extends TestCase
 {
     /** @var \Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder */
     protected $builder;