Rename WallabagCoreTestCase to WallabagTestCase

This commit is contained in:
Yassine Guedidi
2024-02-24 20:24:51 +01:00
parent cd6f7b5e92
commit c092e4ddf6
40 changed files with 79 additions and 79 deletions

View File

@ -5,11 +5,11 @@ namespace Tests\Wallabag\Command;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
class CleanDuplicatesCommandTest extends WallabagCoreTestCase
class CleanDuplicatesCommandTest extends WallabagTestCase
{
public function testRunCleanDuplicates()
{

View File

@ -5,9 +5,9 @@ namespace Tests\Wallabag\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
class ExportCommandTest extends WallabagCoreTestCase
class ExportCommandTest extends WallabagTestCase
{
public function testExportCommandWithoutUsername()
{

View File

@ -5,11 +5,11 @@ namespace Tests\Wallabag\Command;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
use Wallabag\Entity\User;
class GenerateUrlHashesCommandTest extends WallabagCoreTestCase
class GenerateUrlHashesCommandTest extends WallabagTestCase
{
public function testRunGenerateUrlHashesCommand()
{

View File

@ -7,9 +7,9 @@ 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\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
class ImportCommandTest extends WallabagCoreTestCase
class ImportCommandTest extends WallabagTestCase
{
public function testRunImportCommandWithoutArguments()
{

View File

@ -8,9 +8,9 @@ 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\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
class RedisWorkerCommandTest extends WallabagCoreTestCase
class RedisWorkerCommandTest extends WallabagTestCase
{
public function testRunRedisWorkerCommandWithoutArguments()
{

View File

@ -13,10 +13,10 @@ 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\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Command\InstallCommand;
class InstallCommandTest extends WallabagCoreTestCase
class InstallCommandTest extends WallabagTestCase
{
public static function setUpBeforeClass(): void
{

View File

@ -4,9 +4,9 @@ namespace Tests\Wallabag\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
class ListUserCommandTest extends WallabagCoreTestCase
class ListUserCommandTest extends WallabagTestCase
{
public function testRunListUserCommand()
{

View File

@ -4,10 +4,10 @@ namespace Tests\Wallabag\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
class ReloadEntryCommandTest extends WallabagCoreTestCase
class ReloadEntryCommandTest extends WallabagTestCase
{
public $url = 'https://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html';

View File

@ -6,10 +6,10 @@ 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\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\User;
class ShowUserCommandTest extends WallabagCoreTestCase
class ShowUserCommandTest extends WallabagTestCase
{
public function testRunShowUserCommandWithoutUsername()
{

View File

@ -5,9 +5,9 @@ namespace Tests\Wallabag\Command;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
class TagAllCommandTest extends WallabagCoreTestCase
class TagAllCommandTest extends WallabagTestCase
{
public function testRunTagAllCommandWithoutUsername()
{

View File

@ -6,10 +6,10 @@ 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\WallabagCoreTestCase;
use Tests\Wallabag\WallabagTestCase;
use Wallabag\Entity\Entry;
class UpdatePicturesPathCommandTest extends WallabagCoreTestCase
class UpdatePicturesPathCommandTest extends WallabagTestCase
{
public function testRunUpdatePicturesPathCommandWithoutOldURL()
{