Move Api controllers to Core

This commit is contained in:
Yassine Guedidi
2023-12-31 09:28:37 +01:00
parent 020c616c9d
commit 3fc0b5fa5b
21 changed files with 22 additions and 41 deletions

View File

@ -1,8 +1,6 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
class ConfigRestControllerTest extends WallabagApiTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\CoreBundle\WallabagCoreTestCase;

View File

@ -1,10 +1,9 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\DependencyInjection\Container;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;
use Wallabag\CoreBundle\Entity\User;

View File

@ -1,8 +1,6 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
class SearchRestControllerTest extends WallabagApiTestCase
{

View File

@ -1,9 +1,8 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag;

View File

@ -1,8 +1,6 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
class TaggingRuleRestControllerTest extends WallabagApiTestCase
{

View File

@ -1,9 +1,8 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
use Craue\ConfigBundle\Util\Config;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
class UserRestControllerTest extends WallabagApiTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\ApiBundle;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
use Doctrine\ORM\EntityManagerInterface;
use FOS\UserBundle\Model\UserInterface;

View File

@ -1,9 +1,8 @@
<?php
namespace Tests\Wallabag\ApiBundle\Controller;
namespace Tests\Wallabag\CoreBundle\Controller\Api;
use Craue\ConfigBundle\Util\Config;
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
class WallabagRestControllerTest extends WallabagApiTestCase
{