mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Rename WallabagCoreTestCase to WallabagTestCase
This commit is contained in:
parent
cd6f7b5e92
commit
c092e4ddf6
40 changed files with 79 additions and 79 deletions
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue