mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix unit test names
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Application;
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class ApiRootTest extends \PhraseanetWebTestCaseAbstract
|
||||
class ApiRootTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -11,7 +11,7 @@ use Alchemy\Phrasea\Model\Entities\Task;
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
abstract class ApiTestCase extends \PhraseanetWebTestCaseAbstract
|
||||
abstract class ApiTestCase extends \PhraseanetWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Application;
|
||||
|
||||
class LightboxTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class LightboxTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
protected $client;
|
||||
|
@@ -9,7 +9,7 @@ use Alchemy\Phrasea\Authentication\Context;
|
||||
* Test oauthv2 flow based on ietf authv2 spec
|
||||
* @link http://tools.ietf.org/html/draft-ietf-oauth-v2-18
|
||||
*/
|
||||
class oauthv2_application_test extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class oauthv2_application_test extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||
|
||||
class OverviewTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class OverviewTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testDatafilesRouteAuthenticated()
|
||||
{
|
||||
|
@@ -14,7 +14,7 @@ use Alchemy\Phrasea\Border\Attribute\Metadata;
|
||||
use Alchemy\Phrasea\Border\Attribute\Status;
|
||||
use Alchemy\Phrasea\Border\Attribute\Story;
|
||||
|
||||
class ManagerTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ManagerTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
* @var Manager
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Authentication\ACLProvider;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
|
||||
class AdminCollectionTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class AdminCollectionTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
public static $createdCollections = [];
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
class AdminDashboardTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class AdminDashboardTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Alchemy\Phrasea\Controller\Admin\ConnectedUsers;
|
||||
|
||||
class ConnectedUserTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ConnectedUserTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class DataboxTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class DataboxTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
private static $createdCollections = [];
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class DataboxesTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class DataboxesTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
use PHPExiftool\Driver\Tag\IPTC\ObjectName;
|
||||
use Alchemy\Phrasea\Vocabulary\Controller as VocabularyController;
|
||||
|
||||
class ControllerFieldsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerFieldsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRoot()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
class Module_Admin_Route_PublicationTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class Module_Admin_Route_PublicationTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static $account = null;
|
||||
public static $api = null;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\SearchEngine\Phrasea\PhraseaEngine;
|
||||
use Alchemy\Phrasea\SearchEngine\SphinxSearch\SphinxSearchEngine;
|
||||
|
||||
class SearchEngineTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class SearchEngineTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
|
||||
class SetupTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class SetupTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
use Alchemy\Phrasea\Media\Subdef\Image;
|
||||
|
||||
class ControllerSubdefsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerSubdefsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
use Alchemy\Phrasea\Model\Entities\Task;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class TaskManagerTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class TaskManagerTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRouteTaskManagerRoot()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Admin;
|
||||
|
||||
class ControllerUsersTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerUsersTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
protected $usersParameters;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Client;
|
||||
|
||||
class BasketsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class BasketsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Client;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
|
||||
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Model\Entities\Basket;
|
||||
use Alchemy\Phrasea\Model\Entities\BasketElement;
|
||||
|
||||
class ControllerBasketTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerBasketTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
require_once __DIR__ . '/../../../../../classes/Bridge/Bridge_datas.inc';
|
||||
|
||||
class BridgeApplication extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class BridgeApplication extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static $account = null;
|
||||
public static $api = null;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class DoDownloadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class DoDownloadTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class DownloadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class DownloadTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerEditTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerEditTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
/**
|
||||
* @todo Test Alchemy\Phrasea\Controller\Prod\Export::exportMail
|
||||
*/
|
||||
class ExportTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ExportTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
private static $GV_activeFTP;
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Model\Entities\FeedItem;
|
||||
use Symfony\Component\CssSelector\CssSelector;
|
||||
|
||||
class FeedTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class FeedTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerLanguageTest extends \PhraseanetWebTestCaseAbstract
|
||||
class ControllerLanguageTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ use Alchemy\Phrasea\Border\Attribute\AttributeInterface;
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class LazaretTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class LazaretTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerMoveCollectionTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerMoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
use Alchemy\Phrasea\Model\Entities\Order;
|
||||
use Alchemy\Phrasea\Model\Entities\OrderElement;
|
||||
|
||||
class OrderTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class OrderTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerPrinterTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerPrinterTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\Border\File;
|
||||
|
||||
class PropertyTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class PropertyTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerPushTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerPushTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -6,7 +6,7 @@ namespace Alchemy\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
|
||||
class QueryTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class QueryTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
@@ -8,7 +8,7 @@ use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
/**
|
||||
* @todo Test Alchemy\Phrasea\Controller\Prod\Export::exportMail
|
||||
*/
|
||||
class RecordsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class RecordsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerRootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerRootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\Controller\Prod\Share;
|
||||
|
||||
class ShareTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ShareTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
|
||||
class ControllerStoryTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerStoryTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRootPost()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\Application;
|
||||
|
||||
class TOUTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class TOUTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||
|
||||
class ControllerToolsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerToolsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
protected $tmpFile;
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
|
||||
class ControllerTooltipTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerTooltipTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -8,7 +8,7 @@ use DataURI;
|
||||
use Symfony\Component\HttpFoundation\File\UploadedFile;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class UploadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class UploadTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
*
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerUsrListsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerUsrListsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Prod;
|
||||
|
||||
class ControllerWorkZoneTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ControllerWorkZoneTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
protected $client;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Report;
|
||||
|
||||
class ActivityTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ActivityTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
private $dmin;
|
||||
private $dmax;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Report;
|
||||
|
||||
class ExportTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class ExportTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
public function testExportCSV()
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Report;
|
||||
|
||||
class InformationsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class InformationsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
private $dmin;
|
||||
private $dmax;
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Report;
|
||||
|
||||
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
private $dmin;
|
||||
private $dmax;
|
||||
|
@@ -5,7 +5,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Root;
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class AccountTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class AccountTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
private static $authorizedApp;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Root;
|
||||
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class DevelopersTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class DevelopersTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
@@ -13,7 +13,7 @@ use Symfony\Component\HttpKernel\Client;
|
||||
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class LoginTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class LoginTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public static $demands;
|
||||
public static $collections;
|
||||
|
@@ -10,7 +10,7 @@ use Alchemy\Phrasea\Model\Entities\FeedEntry;
|
||||
use Alchemy\Phrasea\Model\Entities\FeedItem;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class RssFeedTest extends \PhraseanetWebTestCaseAbstract
|
||||
class RssFeedTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
private static $initialized = false;
|
||||
|
||||
|
@@ -8,7 +8,7 @@ use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\BrowserKit\Cookie as BrowserCookie;
|
||||
use Symfony\Component\BrowserKit\CookieJar;
|
||||
|
||||
class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class RootTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
public function testRouteSetLocale()
|
||||
{
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Root;
|
||||
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
|
||||
class SessionTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class SessionTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
* @covers \Alchemy\Phrasea\Controller\Root\Session::updateSession
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller;
|
||||
|
||||
use Symfony\Component\Yaml\Yaml;
|
||||
|
||||
class SetupTest extends \PhraseanetWebTestCaseAbstract
|
||||
class SetupTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\User;
|
||||
|
||||
class NotificationsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class NotificationsTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\User;
|
||||
|
||||
class PreferencesTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class PreferencesTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Utils;
|
||||
|
||||
class ControllerConnectionTestTest extends \PhraseanetWebTestCaseAbstract
|
||||
class ControllerConnectionTestTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
/**
|
||||
* Default route test
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Alchemy\Tests\Phrasea\Controller\Utils;
|
||||
|
||||
class ControllerPathFileTestTest extends \PhraseanetWebTestCaseAbstract
|
||||
class ControllerPathFileTestTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
/**
|
||||
* Default route test
|
||||
|
@@ -7,7 +7,7 @@ use Alchemy\Phrasea\Http\XSendFile\NginxMode;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
class ServeFileResponseFactoryTest extends \PhraseanetWebTestCaseAbstract
|
||||
class ServeFileResponseFactoryTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
protected $factory;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Security;
|
||||
|
||||
use Alchemy\Phrasea\Security\Firewall;
|
||||
|
||||
class FirewallTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class FirewallTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
protected $client;
|
||||
|
||||
|
@@ -4,7 +4,7 @@ use Alchemy\Phrasea\Application;
|
||||
|
||||
require_once __DIR__ . '/../Bridge_datas.inc';
|
||||
|
||||
class Bridge_Api_AbstractTest extends PhraseanetWebTestCaseAbstract
|
||||
class Bridge_Api_AbstractTest extends \PhraseanetWebTestCase
|
||||
{
|
||||
public static $account = null;
|
||||
public static $api = null;
|
||||
|
@@ -4,7 +4,7 @@ use Silex\Application;
|
||||
use Symfony\Component\HttpKernel\Client;
|
||||
use Symfony\Component\DomCrawler\Crawler;
|
||||
|
||||
abstract class PhraseanetWebTestCaseAuthenticatedAbstract extends \PhraseanetAuthenticatedTestCase
|
||||
abstract class PhraseanetAuthenticatedWebTestCase extends \PhraseanetAuthenticatedTestCase
|
||||
{
|
||||
protected $StubbedACL;
|
||||
private static $createdDataboxes = [];
|
6
tests/classes/PhraseanetWebTestCase.php
Normal file
6
tests/classes/PhraseanetWebTestCase.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
abstract class PhraseanetWebTestCase extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
<?php
|
||||
|
||||
abstract class PhraseanetWebTestCaseAbstract extends \PhraseanetTestCase
|
||||
{
|
||||
|
||||
}
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class databoxTest extends PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
class databoxTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
{
|
||||
/**
|
||||
* @covers databox::get_thesaurus
|
||||
|
@@ -8,9 +8,9 @@ class unitTestsTest extends \PhraseanetTestCase
|
||||
$reserved = [
|
||||
"BoilerPlate.php",
|
||||
"PhraseanetTestCase.php",
|
||||
"PhraseanetWebTestCaseAbstract.php",
|
||||
"PhraseanetWebTestCase.php",
|
||||
"PhraseanetAuthenticatedTestCase.php",
|
||||
"PhraseanetWebTestCaseAuthenticatedAbstract.php",
|
||||
"PhraseanetAuthenticatedWebTestCase.php",
|
||||
"PhraseanetPHPUnitListener.php",
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user