Rename tests namespace to Wallabag\Tests

This commit is contained in:
Yassine Guedidi
2026-03-08 12:39:18 +01:00
parent 4eeef3d497
commit baa7caa860
97 changed files with 140 additions and 140 deletions

View File

@ -214,8 +214,8 @@
},
"autoload-dev": {
"psr-4": {
"Tests\\Wallabag\\": "tests/",
"Wallabag\\DataFixtures\\": "fixtures/"
"Wallabag\\DataFixtures\\": "fixtures/",
"Wallabag\\Tests\\": "tests/"
},
"files": [
"tests/functions.php"

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class CleanDuplicatesCommandTest extends WallabagTestCase
{

View File

@ -1,11 +1,11 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class ExportCommandTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class GenerateUrlHashesCommandTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Command\Import;
namespace Wallabag\Tests\Command\Import;
use Doctrine\ORM\NoResultException;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class ImportCommandTest extends WallabagTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Command\Import;
namespace Wallabag\Tests\Command\Import;
use M6Web\Component\RedisMock\RedisMockFactory;
use Predis\Client;
@ -8,7 +8,7 @@ use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class RedisWorkerCommandTest extends WallabagTestCase
{

View File

@ -1,14 +1,14 @@
<?php
namespace Tests\Wallabag\Command\Import;
namespace Wallabag\Tests\Command\Import;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\NoResultException;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class UrlCommandTest extends WallabagTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use DAMA\DoctrineTestBundle\Doctrine\DBAL\StaticDriver;
use Doctrine\DBAL\Connection;
@ -14,8 +14,8 @@ use Symfony\Component\Console\Command\LazyCommand;
use Symfony\Component\Console\Input\ArrayInput;
use Symfony\Component\Console\Output\NullOutput;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Command\InstallCommand;
use Wallabag\Tests\WallabagTestCase;
class InstallCommandTest extends WallabagTestCase
{

View File

@ -1,10 +1,10 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class ListUserCommandTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Repository\EntryRepository;
use Wallabag\Repository\UserRepository;
use Wallabag\Tests\WallabagTestCase;
class ReloadEntryCommandTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class ShowUserCommandTest extends WallabagTestCase
{

View File

@ -1,11 +1,11 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class TagAllCommandTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Command;
namespace Wallabag\Tests\Command;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class UpdatePicturesPathCommandTest extends WallabagTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Consumer;
namespace Wallabag\Tests\Consumer;
use Doctrine\ORM\EntityManager;
use PhpAmqpLib\Message\AMQPMessage;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Consumer;
namespace Wallabag\Tests\Consumer;
use Doctrine\ORM\EntityManager;
use PHPUnit\Framework\TestCase;

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Annotation;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class AnnotationControllerTest extends WallabagTestCase
{

View File

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

View File

@ -1,11 +1,11 @@
<?php
namespace Tests\Wallabag\Controller\Api;
namespace Wallabag\Tests\Controller\Api;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Api\Client;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class DeveloperControllerTest extends WallabagTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Controller\Api;
namespace Wallabag\Tests\Controller\Api;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\DependencyInjection\Container;

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Controller\Api;
namespace Wallabag\Tests\Controller\Api;
use Craue\ConfigBundle\Util\Config;

View File

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

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Controller\Api;
namespace Wallabag\Tests\Controller\Api;
use Craue\ConfigBundle\Util\Config;

View File

@ -1,13 +1,12 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Doctrine\ORM\EntityManagerInterface;
use Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\GoogleAuthenticatorInterface;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Annotation;
use Wallabag\Entity\Config as ConfigEntity;
use Wallabag\Entity\Entry;
@ -15,6 +14,7 @@ use Wallabag\Entity\IgnoreOriginUserRule;
use Wallabag\Entity\Tag;
use Wallabag\Entity\TaggingRule;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class ConfigControllerTest extends WallabagTestCase
{

View File

@ -1,11 +1,10 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Annotation;
use Wallabag\Entity\Config as ConfigEntity;
use Wallabag\Entity\Entry;
@ -14,6 +13,7 @@ use Wallabag\Entity\Tag;
use Wallabag\Entity\User;
use Wallabag\Helper\ContentProxy;
use Wallabag\Helper\CryptoProxy;
use Wallabag\Tests\WallabagTestCase;
class EntryControllerTest extends WallabagTestCase
{

View File

@ -1,11 +1,11 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Repository\UserRepository;
use Wallabag\Tests\WallabagTestCase;
class ExportControllerTest extends WallabagTestCase
{

View File

@ -1,11 +1,11 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class FeedControllerTest extends WallabagTestCase
{

View File

@ -1,8 +1,8 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class IgnoreOriginInstanceRuleControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class ChromeControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class DeliciousControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class ElcuratorControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class FirefoxControllerTest extends WallabagTestCase
{

View File

@ -1,8 +1,8 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class ImportControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class InstapaperControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class OmnivoreControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class PinboardControllerTest extends WallabagTestCase
{

View File

@ -1,11 +1,11 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Import\PocketImport;
use Wallabag\Tests\WallabagTestCase;
class PocketControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class PocketCsvControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class PocketHtmlControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class ReadabilityControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class ShaarliControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class WallabagV1ControllerTest extends WallabagTestCase
{

View File

@ -1,13 +1,13 @@
<?php
namespace Tests\Wallabag\Controller\Import;
namespace Wallabag\Tests\Controller\Import;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class WallabagV2ControllerTest extends WallabagTestCase
{

View File

@ -1,10 +1,10 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
class SecurityControllerTest extends WallabagTestCase
{

View File

@ -1,8 +1,8 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
/**
* The controller `SettingsController` does not exist.

View File

@ -1,12 +1,12 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Craue\ConfigBundle\Util\Config;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\SiteCredential;
use Wallabag\Tests\WallabagTestCase;
class SiteCredentialControllerTest extends WallabagTestCase
{

View File

@ -1,8 +1,8 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class StaticControllerTest extends WallabagTestCase
{

View File

@ -1,12 +1,12 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Doctrine\ORM\EntityManagerInterface;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Entity\Tag;
use Wallabag\Entity\User;
use Wallabag\Tests\WallabagTestCase;
/**
* @group Tag

View File

@ -1,8 +1,8 @@
<?php
namespace Tests\Wallabag\Controller;
namespace Wallabag\Tests\Controller;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Tests\WallabagTestCase;
class UserControllerTest extends WallabagTestCase
{

View File

@ -1,9 +1,9 @@
<?php
namespace Tests\Wallabag\Entity;
namespace Wallabag\Tests\Entity;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Tests\WallabagTestCase;
class EntryTest extends WallabagTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Event\Listener;
namespace Wallabag\Tests\Event\Listener;
use Monolog\Handler\TestHandler;
use Monolog\Logger;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Event\Listener;
namespace Wallabag\Tests\Event\Listener;
use Doctrine\ORM\EntityManager;
use FOS\UserBundle\Event\FilterUserResponseEvent;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Event\Listener;
namespace Wallabag\Tests\Event\Listener;
use PHPUnit\Framework\TestCase;
use Symfony\Component\EventDispatcher\EventDispatcher;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Event\Listener;
namespace Wallabag\Tests\Event\Listener;
use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\Request;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Event\Subscriber;
namespace Wallabag\Tests\Event\Subscriber;
use Doctrine\Common\EventManager;
use Doctrine\DBAL\Platforms\MySQLPlatform;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Form\DataTransformer;
namespace Wallabag\Tests\Form\DataTransformer;
use PHPUnit\Framework\TestCase;
use Wallabag\Form\DataTransformer\StringToListTransformer;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use Graby\Graby;
use Monolog\Handler\TestHandler;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use Monolog\Handler\TestHandler;
use Monolog\Logger;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use Monolog\Handler\TestHandler;
use Monolog\Logger;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use Monolog\Handler\TestHandler;
use Monolog\Logger;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use Doctrine\ORM\AbstractQuery;
use Doctrine\ORM\QueryBuilder;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Helper;
namespace Wallabag\Tests\Helper;
use PHPUnit\Framework\TestCase;
use Wallabag\Entity\Entry;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\HttpClient;
namespace Wallabag\Tests\HttpClient;
use Monolog\Handler\TestHandler;
use Monolog\Logger;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use M6Web\Component\RedisMock\RedisMockFactory;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use M6Web\Component\RedisMock\RedisMockFactory;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use PHPUnit\Framework\TestCase;
use Wallabag\Import\ImportChain;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\ContainerBuilder;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\UnitOfWork;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use M6Web\Component\RedisMock\RedisMockFactory;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use M6Web\Component\RedisMock\RedisMockFactory;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\UnitOfWork;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use M6Web\Component\RedisMock\RedisMockFactory;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use M6Web\Component\RedisMock\RedisMockFactory;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\UnitOfWork;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Import;
namespace Wallabag\Tests\Import;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\UnitOfWork;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Mailer;
namespace Wallabag\Tests\Mailer;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Mailer\MailerInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\ParamConverter;
namespace Wallabag\Tests\ParamConverter;
use Doctrine\Persistence\ManagerRegistry;
use Doctrine\Persistence\Mapping\ClassMetadata;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Security\Voter;
namespace Wallabag\Tests\Security\Voter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\SiteConfig;
namespace Wallabag\Tests\SiteConfig;
use PHPUnit\Framework\TestCase;
use Wallabag\SiteConfig\ArraySiteConfigBuilder;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\SiteConfig;
namespace Wallabag\Tests\SiteConfig;
use Graby\SiteConfig\ConfigBuilder;
use Graby\SiteConfig\SiteConfig as GrabySiteConfig;
@ -8,10 +8,10 @@ use Monolog\Handler\TestHandler;
use Monolog\Logger;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage;
use Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\User;
use Wallabag\Repository\SiteCredentialRepository;
use Wallabag\SiteConfig\GrabySiteConfigBuilder;
use Wallabag\Tests\WallabagTestCase;
class GrabySiteConfigBuilderTest extends WallabagTestCase
{

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\SiteConfig;
namespace Wallabag\Tests\SiteConfig;
use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\HttpBrowser;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\SiteConfig;
namespace Wallabag\Tests\SiteConfig;
use PHPUnit\Framework\TestCase;
use Wallabag\SiteConfig\SiteConfig;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Tools;
namespace Wallabag\Tests\Tools;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Finder\Finder;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag\Twig;
namespace Wallabag\Tests\Twig;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace Tests\Wallabag;
namespace Wallabag\Tests;
use Doctrine\ORM\EntityManagerInterface;
use Predis\Client;