forked from wallabag/wallabag
Remove the CoreBundle namespace
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Listener;
|
||||
namespace Tests\Wallabag\Event\Listener;
|
||||
|
||||
use Monolog\Handler\TestHandler;
|
||||
use Monolog\Logger;
|
||||
@ -12,7 +12,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||
use Symfony\Component\Security\Core\AuthenticationEvents;
|
||||
use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
|
||||
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||
use Wallabag\CoreBundle\Event\Listener\AuthenticationFailureListener;
|
||||
use Wallabag\Event\Listener\AuthenticationFailureListener;
|
||||
|
||||
class AuthenticationFailureListenerTest extends TestCase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Listener;
|
||||
namespace Tests\Wallabag\Event\Listener;
|
||||
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use FOS\UserBundle\Event\FilterUserResponseEvent;
|
||||
@ -10,9 +10,9 @@ use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Wallabag\CoreBundle\Entity\Config;
|
||||
use Wallabag\CoreBundle\Entity\User;
|
||||
use Wallabag\CoreBundle\Event\Listener\CreateConfigListener;
|
||||
use Wallabag\Entity\Config;
|
||||
use Wallabag\Entity\User;
|
||||
use Wallabag\Event\Listener\CreateConfigListener;
|
||||
|
||||
class CreateConfigListenerTest extends TestCase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Listener;
|
||||
namespace Tests\Wallabag\Event\Listener;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcher;
|
||||
@ -10,7 +10,7 @@ use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
|
||||
use Symfony\Component\HttpKernel\Event\RequestEvent;
|
||||
use Symfony\Component\HttpKernel\HttpKernelInterface;
|
||||
use Symfony\Component\HttpKernel\KernelEvents;
|
||||
use Wallabag\CoreBundle\Event\Listener\LocaleListener;
|
||||
use Wallabag\Event\Listener\LocaleListener;
|
||||
|
||||
class LocaleListenerTest extends TestCase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Listener;
|
||||
namespace Tests\Wallabag\Event\Listener;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
@ -8,9 +8,9 @@ use Symfony\Component\HttpFoundation\Session\Session;
|
||||
use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
|
||||
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
|
||||
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
|
||||
use Wallabag\CoreBundle\Entity\Config;
|
||||
use Wallabag\CoreBundle\Entity\User;
|
||||
use Wallabag\CoreBundle\Event\Listener\UserLocaleListener;
|
||||
use Wallabag\Entity\Config;
|
||||
use Wallabag\Entity\User;
|
||||
use Wallabag\Event\Listener\UserLocaleListener;
|
||||
|
||||
class UserLocaleListenerTest extends TestCase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Subscriber;
|
||||
namespace Tests\Wallabag\Event\Subscriber;
|
||||
|
||||
use Doctrine\Common\EventManager;
|
||||
use Doctrine\DBAL\Platforms\MySQLPlatform;
|
||||
@ -10,8 +10,8 @@ use Doctrine\ORM\EntityManager;
|
||||
use Doctrine\ORM\Event\LoadClassMetadataEventArgs;
|
||||
use Doctrine\ORM\Mapping\ClassMetadata;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Wallabag\CoreBundle\Entity\User;
|
||||
use Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber;
|
||||
use Wallabag\Entity\User;
|
||||
use Wallabag\Event\Subscriber\TablePrefixSubscriber;
|
||||
|
||||
class TablePrefixSubscriberTest extends TestCase
|
||||
{
|
||||
@ -93,7 +93,7 @@ class TablePrefixSubscriberTest extends TestCase
|
||||
|
||||
$subscriber = new TablePrefixSubscriber('yo_');
|
||||
|
||||
$metaClass = new ClassMetadata('Wallabag\CoreBundle\Entity\Entry');
|
||||
$metaClass = new ClassMetadata('Wallabag\Entity\Entry');
|
||||
$metaClass->setPrimaryTable(['name' => 'entry']);
|
||||
$metaClass->mapManyToMany([
|
||||
'fieldName' => 'tags',
|
||||
|
||||
Reference in New Issue
Block a user