diff --git a/tests/Command/CleanDuplicatesCommandTest.php b/tests/Command/CleanDuplicatesCommandTest.php index d7d7ba3c5..3129d0047 100644 --- a/tests/Command/CleanDuplicatesCommandTest.php +++ b/tests/Command/CleanDuplicatesCommandTest.php @@ -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() { diff --git a/tests/Command/ExportCommandTest.php b/tests/Command/ExportCommandTest.php index c8d5ef13a..7f39d95d2 100644 --- a/tests/Command/ExportCommandTest.php +++ b/tests/Command/ExportCommandTest.php @@ -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() { diff --git a/tests/Command/GenerateUrlHashesCommandTest.php b/tests/Command/GenerateUrlHashesCommandTest.php index c0716886d..73a54e803 100644 --- a/tests/Command/GenerateUrlHashesCommandTest.php +++ b/tests/Command/GenerateUrlHashesCommandTest.php @@ -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() { diff --git a/tests/Command/Import/ImportCommandTest.php b/tests/Command/Import/ImportCommandTest.php index 3187131f1..945ca0180 100644 --- a/tests/Command/Import/ImportCommandTest.php +++ b/tests/Command/Import/ImportCommandTest.php @@ -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() { diff --git a/tests/Command/Import/RedisWorkerCommandTest.php b/tests/Command/Import/RedisWorkerCommandTest.php index b8faeb7cd..e875f6a1e 100644 --- a/tests/Command/Import/RedisWorkerCommandTest.php +++ b/tests/Command/Import/RedisWorkerCommandTest.php @@ -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() { diff --git a/tests/Command/InstallCommandTest.php b/tests/Command/InstallCommandTest.php index f525cb29c..4f4f3c790 100644 --- a/tests/Command/InstallCommandTest.php +++ b/tests/Command/InstallCommandTest.php @@ -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 { diff --git a/tests/Command/ListUserCommandTest.php b/tests/Command/ListUserCommandTest.php index 9149abdfe..24914d35e 100644 --- a/tests/Command/ListUserCommandTest.php +++ b/tests/Command/ListUserCommandTest.php @@ -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() { diff --git a/tests/Command/ReloadEntryCommandTest.php b/tests/Command/ReloadEntryCommandTest.php index 2f7a783ca..7ea74a97a 100644 --- a/tests/Command/ReloadEntryCommandTest.php +++ b/tests/Command/ReloadEntryCommandTest.php @@ -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'; diff --git a/tests/Command/ShowUserCommandTest.php b/tests/Command/ShowUserCommandTest.php index 24c1e5fcc..23b866d4e 100644 --- a/tests/Command/ShowUserCommandTest.php +++ b/tests/Command/ShowUserCommandTest.php @@ -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() { diff --git a/tests/Command/TagAllCommandTest.php b/tests/Command/TagAllCommandTest.php index 2560ad2ee..3241727ac 100644 --- a/tests/Command/TagAllCommandTest.php +++ b/tests/Command/TagAllCommandTest.php @@ -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() { diff --git a/tests/Command/UpdatePicturesPathCommandTest.php b/tests/Command/UpdatePicturesPathCommandTest.php index 10e7ab615..34c6ec6e4 100644 --- a/tests/Command/UpdatePicturesPathCommandTest.php +++ b/tests/Command/UpdatePicturesPathCommandTest.php @@ -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() { diff --git a/tests/Controller/AnnotationControllerTest.php b/tests/Controller/AnnotationControllerTest.php index 1fa5c851c..b55e86efa 100644 --- a/tests/Controller/AnnotationControllerTest.php +++ b/tests/Controller/AnnotationControllerTest.php @@ -4,12 +4,12 @@ namespace Tests\Wallabag\Controller; use Doctrine\ORM\EntityManagerInterface; use Symfony\Bundle\FrameworkBundle\KernelBrowser; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Annotation; use Wallabag\Entity\Entry; use Wallabag\Entity\User; -class AnnotationControllerTest extends WallabagCoreTestCase +class AnnotationControllerTest extends WallabagTestCase { /** * @var KernelBrowser diff --git a/tests/Controller/Api/DeveloperControllerTest.php b/tests/Controller/Api/DeveloperControllerTest.php index 4e31f026a..9c24efb9e 100644 --- a/tests/Controller/Api/DeveloperControllerTest.php +++ b/tests/Controller/Api/DeveloperControllerTest.php @@ -3,10 +3,10 @@ namespace Tests\Wallabag\Controller\Api; use Doctrine\ORM\EntityManagerInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Api\Client; -class DeveloperControllerTest extends WallabagCoreTestCase +class DeveloperControllerTest extends WallabagTestCase { public function testCreateClient() { diff --git a/tests/Controller/ConfigControllerTest.php b/tests/Controller/ConfigControllerTest.php index c1008530b..b86dca560 100644 --- a/tests/Controller/ConfigControllerTest.php +++ b/tests/Controller/ConfigControllerTest.php @@ -6,7 +6,7 @@ use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\File\UploadedFile; use Symfony\Component\HttpFoundation\Session\SessionInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Annotation; use Wallabag\Entity\Config as ConfigEntity; use Wallabag\Entity\Entry; @@ -15,7 +15,7 @@ use Wallabag\Entity\Tag; use Wallabag\Entity\TaggingRule; use Wallabag\Entity\User; -class ConfigControllerTest extends WallabagCoreTestCase +class ConfigControllerTest extends WallabagTestCase { public function testLogin() { diff --git a/tests/Controller/EntryControllerTest.php b/tests/Controller/EntryControllerTest.php index e2f297810..3f810a430 100644 --- a/tests/Controller/EntryControllerTest.php +++ b/tests/Controller/EntryControllerTest.php @@ -5,7 +5,7 @@ namespace Tests\Wallabag\Controller; use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Annotation; use Wallabag\Entity\Config as ConfigEntity; use Wallabag\Entity\Entry; @@ -15,7 +15,7 @@ use Wallabag\Entity\User; use Wallabag\Helper\ContentProxy; use Wallabag\Helper\CryptoProxy; -class EntryControllerTest extends WallabagCoreTestCase +class EntryControllerTest extends WallabagTestCase { public const AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE = 'https://www.lemonde.fr/judo/article/2017/11/11/judo-la-decima-de-teddy-riner_5213605_1556020.html'; public $downloadImagesEnabled = false; diff --git a/tests/Controller/ExportControllerTest.php b/tests/Controller/ExportControllerTest.php index 9fecbf491..a5cdfdb57 100644 --- a/tests/Controller/ExportControllerTest.php +++ b/tests/Controller/ExportControllerTest.php @@ -3,10 +3,10 @@ namespace Tests\Wallabag\Controller; use Doctrine\ORM\EntityManagerInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class ExportControllerTest extends WallabagCoreTestCase +class ExportControllerTest extends WallabagTestCase { private $adminEntry; private $bobEntry; diff --git a/tests/Controller/FeedControllerTest.php b/tests/Controller/FeedControllerTest.php index b11a7283d..ec837d910 100644 --- a/tests/Controller/FeedControllerTest.php +++ b/tests/Controller/FeedControllerTest.php @@ -3,11 +3,11 @@ namespace Tests\Wallabag\Controller; use Doctrine\ORM\EntityManagerInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; use Wallabag\Entity\User; -class FeedControllerTest extends WallabagCoreTestCase +class FeedControllerTest extends WallabagTestCase { public function validateDom($xml, $type, $nb = null, $tagValue = null) { diff --git a/tests/Controller/IgnoreOriginInstanceRuleControllerTest.php b/tests/Controller/IgnoreOriginInstanceRuleControllerTest.php index 21569d0c2..6800c4d98 100644 --- a/tests/Controller/IgnoreOriginInstanceRuleControllerTest.php +++ b/tests/Controller/IgnoreOriginInstanceRuleControllerTest.php @@ -2,9 +2,9 @@ namespace Tests\Wallabag\Controller; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; -class IgnoreOriginInstanceRuleControllerTest extends WallabagCoreTestCase +class IgnoreOriginInstanceRuleControllerTest extends WallabagTestCase { public function testListIgnoreOriginInstanceRule() { diff --git a/tests/Controller/Import/ChromeControllerTest.php b/tests/Controller/Import/ChromeControllerTest.php index 60192f88b..3d9377072 100644 --- a/tests/Controller/Import/ChromeControllerTest.php +++ b/tests/Controller/Import/ChromeControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class ChromeControllerTest extends WallabagCoreTestCase +class ChromeControllerTest extends WallabagTestCase { public function testImportChrome() { diff --git a/tests/Controller/Import/DeliciousControllerTest.php b/tests/Controller/Import/DeliciousControllerTest.php index 44c0f9419..010381ce1 100644 --- a/tests/Controller/Import/DeliciousControllerTest.php +++ b/tests/Controller/Import/DeliciousControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class DeliciousControllerTest extends WallabagCoreTestCase +class DeliciousControllerTest extends WallabagTestCase { public function testImportDelicious() { diff --git a/tests/Controller/Import/ElcuratorControllerTest.php b/tests/Controller/Import/ElcuratorControllerTest.php index f6d00fd39..6e4c4c126 100644 --- a/tests/Controller/Import/ElcuratorControllerTest.php +++ b/tests/Controller/Import/ElcuratorControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class ElcuratorControllerTest extends WallabagCoreTestCase +class ElcuratorControllerTest extends WallabagTestCase { public function testImportElcurator() { diff --git a/tests/Controller/Import/FirefoxControllerTest.php b/tests/Controller/Import/FirefoxControllerTest.php index 7b70aafdc..0c9827a18 100644 --- a/tests/Controller/Import/FirefoxControllerTest.php +++ b/tests/Controller/Import/FirefoxControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class FirefoxControllerTest extends WallabagCoreTestCase +class FirefoxControllerTest extends WallabagTestCase { public function testImportFirefox() { diff --git a/tests/Controller/Import/ImportControllerTest.php b/tests/Controller/Import/ImportControllerTest.php index 3f1560525..f2cadb421 100644 --- a/tests/Controller/Import/ImportControllerTest.php +++ b/tests/Controller/Import/ImportControllerTest.php @@ -2,9 +2,9 @@ namespace Tests\Wallabag\Controller\Import; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; -class ImportControllerTest extends WallabagCoreTestCase +class ImportControllerTest extends WallabagTestCase { public function testLogin() { diff --git a/tests/Controller/Import/InstapaperControllerTest.php b/tests/Controller/Import/InstapaperControllerTest.php index 1db69b77f..d05c06f05 100644 --- a/tests/Controller/Import/InstapaperControllerTest.php +++ b/tests/Controller/Import/InstapaperControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class InstapaperControllerTest extends WallabagCoreTestCase +class InstapaperControllerTest extends WallabagTestCase { public function testImportInstapaper() { diff --git a/tests/Controller/Import/PinboardControllerTest.php b/tests/Controller/Import/PinboardControllerTest.php index 0b8bc2ffc..b9e9a75ab 100644 --- a/tests/Controller/Import/PinboardControllerTest.php +++ b/tests/Controller/Import/PinboardControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class PinboardControllerTest extends WallabagCoreTestCase +class PinboardControllerTest extends WallabagTestCase { public function testImportPinboard() { diff --git a/tests/Controller/Import/PocketControllerTest.php b/tests/Controller/Import/PocketControllerTest.php index 424483131..b6c7c97f9 100644 --- a/tests/Controller/Import/PocketControllerTest.php +++ b/tests/Controller/Import/PocketControllerTest.php @@ -4,10 +4,10 @@ namespace Tests\Wallabag\Controller\Import; use Craue\ConfigBundle\Util\Config; use Symfony\Component\HttpFoundation\Session\SessionInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Import\PocketImport; -class PocketControllerTest extends WallabagCoreTestCase +class PocketControllerTest extends WallabagTestCase { public function testImportPocket() { diff --git a/tests/Controller/Import/PocketHtmlControllerTest.php b/tests/Controller/Import/PocketHtmlControllerTest.php index 21fd4f936..b4b7172c7 100644 --- a/tests/Controller/Import/PocketHtmlControllerTest.php +++ b/tests/Controller/Import/PocketHtmlControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class PocketHtmlControllerTest extends WallabagCoreTestCase +class PocketHtmlControllerTest extends WallabagTestCase { public function testImportPocketHtml() { diff --git a/tests/Controller/Import/ReadabilityControllerTest.php b/tests/Controller/Import/ReadabilityControllerTest.php index bffe43c02..5930cbbbd 100644 --- a/tests/Controller/Import/ReadabilityControllerTest.php +++ b/tests/Controller/Import/ReadabilityControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class ReadabilityControllerTest extends WallabagCoreTestCase +class ReadabilityControllerTest extends WallabagTestCase { public function testImportReadability() { diff --git a/tests/Controller/Import/ShaarliControllerTest.php b/tests/Controller/Import/ShaarliControllerTest.php index 010d5eb65..3898040eb 100644 --- a/tests/Controller/Import/ShaarliControllerTest.php +++ b/tests/Controller/Import/ShaarliControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class ShaarliControllerTest extends WallabagCoreTestCase +class ShaarliControllerTest extends WallabagTestCase { public function testImportShaarli() { diff --git a/tests/Controller/Import/WallabagV1ControllerTest.php b/tests/Controller/Import/WallabagV1ControllerTest.php index a368bea1d..a6e394b28 100644 --- a/tests/Controller/Import/WallabagV1ControllerTest.php +++ b/tests/Controller/Import/WallabagV1ControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class WallabagV1ControllerTest extends WallabagCoreTestCase +class WallabagV1ControllerTest extends WallabagTestCase { public function testImportWallabag() { diff --git a/tests/Controller/Import/WallabagV2ControllerTest.php b/tests/Controller/Import/WallabagV2ControllerTest.php index b19521f0e..d3f032601 100644 --- a/tests/Controller/Import/WallabagV2ControllerTest.php +++ b/tests/Controller/Import/WallabagV2ControllerTest.php @@ -6,10 +6,10 @@ use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Predis\Client; use Symfony\Component\HttpFoundation\File\UploadedFile; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class WallabagV2ControllerTest extends WallabagCoreTestCase +class WallabagV2ControllerTest extends WallabagTestCase { public function testImportWallabag() { diff --git a/tests/Controller/SecurityControllerTest.php b/tests/Controller/SecurityControllerTest.php index ef584a65b..3ff4c57bf 100644 --- a/tests/Controller/SecurityControllerTest.php +++ b/tests/Controller/SecurityControllerTest.php @@ -3,10 +3,10 @@ namespace Tests\Wallabag\Controller; use Doctrine\ORM\EntityManagerInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\User; -class SecurityControllerTest extends WallabagCoreTestCase +class SecurityControllerTest extends WallabagTestCase { public function testLoginWithEmail() { diff --git a/tests/Controller/SettingsControllerTest.php b/tests/Controller/SettingsControllerTest.php index 0d766b7bd..189f90888 100644 --- a/tests/Controller/SettingsControllerTest.php +++ b/tests/Controller/SettingsControllerTest.php @@ -2,13 +2,13 @@ namespace Tests\Wallabag\Controller; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; /** * The controller `SettingsController` does not exist. * This test cover security against the internal settings page managed by CraueConfigBundle. */ -class SettingsControllerTest extends WallabagCoreTestCase +class SettingsControllerTest extends WallabagTestCase { public function testSettingsWithAdmin() { diff --git a/tests/Controller/SiteCredentialControllerTest.php b/tests/Controller/SiteCredentialControllerTest.php index b84db67f7..73ddaac7a 100644 --- a/tests/Controller/SiteCredentialControllerTest.php +++ b/tests/Controller/SiteCredentialControllerTest.php @@ -5,10 +5,10 @@ namespace Tests\Wallabag\Controller; use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManagerInterface; use Symfony\Bundle\FrameworkBundle\KernelBrowser; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\SiteCredential; -class SiteCredentialControllerTest extends WallabagCoreTestCase +class SiteCredentialControllerTest extends WallabagTestCase { public function testAccessDeniedBecauseFeatureDisabled() { diff --git a/tests/Controller/StaticControllerTest.php b/tests/Controller/StaticControllerTest.php index 4fe93e40b..8fd9515e8 100644 --- a/tests/Controller/StaticControllerTest.php +++ b/tests/Controller/StaticControllerTest.php @@ -2,9 +2,9 @@ namespace Tests\Wallabag\Controller; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; -class StaticControllerTest extends WallabagCoreTestCase +class StaticControllerTest extends WallabagTestCase { public function testAbout() { diff --git a/tests/Controller/TagControllerTest.php b/tests/Controller/TagControllerTest.php index be48deda0..40051b7fa 100644 --- a/tests/Controller/TagControllerTest.php +++ b/tests/Controller/TagControllerTest.php @@ -3,7 +3,7 @@ namespace Tests\Wallabag\Controller; use Doctrine\ORM\EntityManagerInterface; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; use Wallabag\Entity\Tag; use Wallabag\Entity\User; @@ -11,7 +11,7 @@ use Wallabag\Entity\User; /** * @group Tag */ -class TagControllerTest extends WallabagCoreTestCase +class TagControllerTest extends WallabagTestCase { public $tagName = 'opensource'; public $caseTagName = 'OpenSource'; diff --git a/tests/Controller/UserControllerTest.php b/tests/Controller/UserControllerTest.php index 72a394cb7..481886e08 100644 --- a/tests/Controller/UserControllerTest.php +++ b/tests/Controller/UserControllerTest.php @@ -2,9 +2,9 @@ namespace Tests\Wallabag\Controller; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; -class UserControllerTest extends WallabagCoreTestCase +class UserControllerTest extends WallabagTestCase { public function testLogin() { diff --git a/tests/Entity/EntryTest.php b/tests/Entity/EntryTest.php index c8ae84b2e..c7c290480 100644 --- a/tests/Entity/EntryTest.php +++ b/tests/Entity/EntryTest.php @@ -2,10 +2,10 @@ namespace Tests\Wallabag\Entity; -use Tests\Wallabag\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\Entry; -class EntryTest extends WallabagCoreTestCase +class EntryTest extends WallabagTestCase { public function testGetLanguage() { diff --git a/tests/SiteConfig/GrabySiteConfigBuilderTest.php b/tests/SiteConfig/GrabySiteConfigBuilderTest.php index 7e153f11d..a10960164 100644 --- a/tests/SiteConfig/GrabySiteConfigBuilderTest.php +++ b/tests/SiteConfig/GrabySiteConfigBuilderTest.php @@ -8,12 +8,12 @@ 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\WallabagCoreTestCase; +use Tests\Wallabag\WallabagTestCase; use Wallabag\Entity\User; use Wallabag\Repository\SiteCredentialRepository; use Wallabag\SiteConfig\GrabySiteConfigBuilder; -class GrabySiteConfigBuilderTest extends WallabagCoreTestCase +class GrabySiteConfigBuilderTest extends WallabagTestCase { private $builder; diff --git a/tests/WallabagCoreTestCase.php b/tests/WallabagTestCase.php similarity index 98% rename from tests/WallabagCoreTestCase.php rename to tests/WallabagTestCase.php index 59515ab9d..79ac54e40 100644 --- a/tests/WallabagCoreTestCase.php +++ b/tests/WallabagTestCase.php @@ -11,7 +11,7 @@ use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Wallabag\Entity\User; -abstract class WallabagCoreTestCase extends WebTestCase +abstract class WallabagTestCase extends WebTestCase { /** * @var KernelBrowser|null