From 66e762a1d14475ab66c244acd18a96320cd7f09b Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 6 Dec 2013 10:30:24 +0100 Subject: [PATCH] Fix unit test names --- tests/Alchemy/Tests/Phrasea/Application/ApiRootTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Application/ApiTestCase.php | 2 +- tests/Alchemy/Tests/Phrasea/Application/LightboxTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php | 2 +- tests/Alchemy/Tests/Phrasea/Application/OverviewTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Border/ManagerTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/AdminCollectionTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/AdminDashboardTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/ConnectedUserTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Admin/DataboxTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/DataboxesTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/PublicationTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Admin/RootTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/SearchEngineTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Admin/SetupTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php | 2 +- .../Tests/Phrasea/Controller/Admin/TaskManagerTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Client/BasketsTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php | 2 +- .../Tests/Phrasea/Controller/Prod/DoDownloadTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Prod/DownloadTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/ExportTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/FeedTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/LazaretTest.php | 2 +- .../Tests/Phrasea/Controller/Prod/MoveCollectionTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/OrderTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Prod/PropertyTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/QueryTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/RecordsTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/ShareTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/TOUTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Prod/UploadTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php | 2 +- .../Tests/Phrasea/Controller/Report/ActivityTest.php | 2 +- .../Alchemy/Tests/Phrasea/Controller/Report/ExportTest.php | 2 +- .../Tests/Phrasea/Controller/Report/InformationsTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Report/RootTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Root/AccountTest.php | 2 +- .../Tests/Phrasea/Controller/Root/DevelopersTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Root/RootTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/Root/SessionTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Controller/SetupTest.php | 2 +- .../Tests/Phrasea/Controller/User/NotificationsTest.php | 2 +- .../Tests/Phrasea/Controller/User/PreferencesTest.php | 2 +- .../Tests/Phrasea/Controller/Utils/ConnectionTestTest.php | 2 +- .../Tests/Phrasea/Controller/Utils/PathFileTestTest.php | 2 +- .../Tests/Phrasea/Http/ServeFileResponseFactoryTest.php | 2 +- tests/Alchemy/Tests/Phrasea/Security/FirewallTest.php | 2 +- tests/classes/Bridge/Api/Bridge_Api_AbstractTest.php | 2 +- ...dAbstract.php => PhraseanetAuthenticatedWebTestCase.php} | 2 +- tests/classes/PhraseanetWebTestCase.php | 6 ++++++ tests/classes/PhraseanetWebTestCaseAbstract.php | 6 ------ tests/classes/databoxTest.php | 2 +- tests/classes/unitTestsTest.php | 4 ++-- 69 files changed, 74 insertions(+), 74 deletions(-) rename tests/classes/{PhraseanetWebTestCaseAuthenticatedAbstract.php => PhraseanetAuthenticatedWebTestCase.php} (98%) create mode 100644 tests/classes/PhraseanetWebTestCase.php delete mode 100644 tests/classes/PhraseanetWebTestCaseAbstract.php diff --git a/tests/Alchemy/Tests/Phrasea/Application/ApiRootTest.php b/tests/Alchemy/Tests/Phrasea/Application/ApiRootTest.php index 4a18688e0d..4454a8449c 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/ApiRootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Application/ApiRootTest.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Application/ApiTestCase.php b/tests/Alchemy/Tests/Phrasea/Application/ApiTestCase.php index 3be512ad86..1ad4ef7c5c 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/ApiTestCase.php +++ b/tests/Alchemy/Tests/Phrasea/Application/ApiTestCase.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Application/LightboxTest.php b/tests/Alchemy/Tests/Phrasea/Application/LightboxTest.php index ca2060614e..9a0093b339 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/LightboxTest.php +++ b/tests/Alchemy/Tests/Phrasea/Application/LightboxTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Application; -class LightboxTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class LightboxTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php b/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php index 77cd6d9b02..0219a705da 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php +++ b/tests/Alchemy/Tests/Phrasea/Application/OAuth2Test.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Application/OverviewTest.php b/tests/Alchemy/Tests/Phrasea/Application/OverviewTest.php index 96ed1c8207..4e746a07f7 100644 --- a/tests/Alchemy/Tests/Phrasea/Application/OverviewTest.php +++ b/tests/Alchemy/Tests/Phrasea/Application/OverviewTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Border/ManagerTest.php b/tests/Alchemy/Tests/Phrasea/Border/ManagerTest.php index 401867f7d7..d67cca09b3 100644 --- a/tests/Alchemy/Tests/Phrasea/Border/ManagerTest.php +++ b/tests/Alchemy/Tests/Phrasea/Border/ManagerTest.php @@ -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 diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminCollectionTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminCollectionTest.php index 52077d2fb3..aedfc768e9 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminCollectionTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminCollectionTest.php @@ -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 = []; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminDashboardTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminDashboardTest.php index a07101b91f..8a399140ad 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminDashboardTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/AdminDashboardTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin; -class AdminDashboardTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class AdminDashboardTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/ConnectedUserTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/ConnectedUserTest.php index 3ab8d2d786..5bee91e76c 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/ConnectedUserTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/ConnectedUserTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxTest.php index 8715216e34..cb18624ffa 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxTest.php @@ -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 = []; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxesTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxesTest.php index fbec227efc..8cfb0184b3 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxesTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/DataboxesTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php index 89a2882e92..7b3698d43c 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/FieldsTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php index 73c401e038..723673f9b5 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/PublicationTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/RootTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/RootTest.php index fc16a533ee..cf42f51e92 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/RootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/RootTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin; -class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class RootTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SearchEngineTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SearchEngineTest.php index 8febec9d99..7743b68140 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SearchEngineTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SearchEngineTest.php @@ -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 { /** diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SetupTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SetupTest.php index 99abc33580..a94ebc6d5a 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SetupTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SetupTest.php @@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin; use Symfony\Component\HttpKernel\Client; -class SetupTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class SetupTest extends \PhraseanetAuthenticatedWebTestCase { /** diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php index c56783e8b9..7c5271728d 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/SubdefsTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php index 7bbc95d8a5..5a928815dd 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/TaskManagerTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php index 852bc89a92..840a027963 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Admin/UsersTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Admin; -class ControllerUsersTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerUsersTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; protected $usersParameters; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Client/BasketsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Client/BasketsTest.php index fc63c90dbb..40bc291b9c 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Client/BasketsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Client/BasketsTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Client; -class BasketsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class BasketsTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php index 5455938e56..f7fd5800ee 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Client/RootTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php index 498edb9672..f9d9d0b49c 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BasketTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php index 607846fe54..38aadc46d6 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/BridgeTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/DoDownloadTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/DoDownloadTest.php index 34f9e46b4b..7a84164a5b 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/DoDownloadTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/DoDownloadTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class DoDownloadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class DoDownloadTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/DownloadTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/DownloadTest.php index 6be874d3d4..483db7ac25 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/DownloadTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/DownloadTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class DownloadTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class DownloadTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php index 049c90a025..36b6f97eb1 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/EditTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerEditTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerEditTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ExportTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ExportTest.php index f56c12a035..5b69bf46fa 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ExportTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ExportTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/FeedTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/FeedTest.php index b9f8d7213b..4fd38fe309 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/FeedTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/FeedTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php index 77dcbb3ae8..382b96915e 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/LanguageTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerLanguageTest extends \PhraseanetWebTestCaseAbstract +class ControllerLanguageTest extends \PhraseanetWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/LazaretTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/LazaretTest.php index 28407682f5..d38083c6b4 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/LazaretTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/LazaretTest.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php index 026613135e..cfe436c848 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/MoveCollectionTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerMoveCollectionTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerMoveCollectionTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/OrderTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/OrderTest.php index a2d91c2745..6b4dc00dbe 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/OrderTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/OrderTest.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php index f745da3c9c..ef4820a418 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PrinterTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerPrinterTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerPrinterTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PropertyTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PropertyTest.php index 1d75f64e3a..5de360ac91 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PropertyTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PropertyTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php index aa76eaedf7..a711547803 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/PushTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerPushTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerPushTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/QueryTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/QueryTest.php index 6d1f038dba..80e557e79d 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/QueryTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/QueryTest.php @@ -6,7 +6,7 @@ namespace Alchemy\Phrasea\Controller\Prod; use Alchemy\Phrasea\SearchEngine\SearchEngineOptions; -class QueryTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class QueryTest extends \PhraseanetAuthenticatedWebTestCase { /** diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/RecordsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/RecordsTest.php index 2b9480b3cd..f2c69b2bdb 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/RecordsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/RecordsTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php index e797968daa..00393c9fd9 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/RootTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerRootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerRootTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ShareTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ShareTest.php index 822e4843d4..72c3ef3f0a 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ShareTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ShareTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php index b42fceb256..7b78318c7d 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/StoryTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/TOUTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/TOUTest.php index 6a4b41046e..7b3cd16d4b 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/TOUTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/TOUTest.php @@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; use Alchemy\Phrasea\Application; -class TOUTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class TOUTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php index 6e97d94186..469ada0f00 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/ToolsTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php index 69c666ff1e..5d6de60d1f 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/TooltipTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/UploadTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/UploadTest.php index 5dc83d9c2e..625e5a1da7 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/UploadTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/UploadTest.php @@ -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 { /** * diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php index c3020710fd..a5206e7d91 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/UsrListsTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerUsrListsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerUsrListsTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php index 30df5b0b0c..ed9281f230 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Prod/WorkZoneTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Prod; -class ControllerWorkZoneTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ControllerWorkZoneTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Report/ActivityTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Report/ActivityTest.php index c071b0770e..0ddc3fd30e 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Report/ActivityTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Report/ActivityTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Report; -class ActivityTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ActivityTest extends \PhraseanetAuthenticatedWebTestCase { private $dmin; private $dmax; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Report/ExportTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Report/ExportTest.php index b54fd83ed0..9b99e6d6b2 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Report/ExportTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Report/ExportTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Report; -class ExportTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class ExportTest extends \PhraseanetAuthenticatedWebTestCase { public function testExportCSV() diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Report/InformationsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Report/InformationsTest.php index 1164c3d56b..3500e8eea2 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Report/InformationsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Report/InformationsTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Report; -class InformationsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class InformationsTest extends \PhraseanetAuthenticatedWebTestCase { private $dmin; private $dmax; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Report/RootTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Report/RootTest.php index 895f273040..27a7300f75 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Report/RootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Report/RootTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Report; -class RootTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class RootTest extends \PhraseanetAuthenticatedWebTestCase { private $dmin; private $dmax; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/AccountTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/AccountTest.php index b4fcc8bac4..e51b75bd00 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/AccountTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/AccountTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/DevelopersTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/DevelopersTest.php index 6b1d944343..a340027d32 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/DevelopersTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/DevelopersTest.php @@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Root; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; -class DevelopersTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class DevelopersTest extends \PhraseanetAuthenticatedWebTestCase { /** diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php index 18d8ce4604..e0bdb4f313 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php index 9f18e7804c..581470b621 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/RSSFeedTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/RootTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/RootTest.php index 52636d9d62..6549adab15 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/RootTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/RootTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Root/SessionTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Root/SessionTest.php index abc276b1f1..5f270671a7 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Root/SessionTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Root/SessionTest.php @@ -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 diff --git a/tests/Alchemy/Tests/Phrasea/Controller/SetupTest.php b/tests/Alchemy/Tests/Phrasea/Controller/SetupTest.php index 0ccfba53f6..a49ecc7b65 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/SetupTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/SetupTest.php @@ -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() { diff --git a/tests/Alchemy/Tests/Phrasea/Controller/User/NotificationsTest.php b/tests/Alchemy/Tests/Phrasea/Controller/User/NotificationsTest.php index 967a0f86e7..43e059b2d7 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/User/NotificationsTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/User/NotificationsTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\User; -class NotificationsTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class NotificationsTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/User/PreferencesTest.php b/tests/Alchemy/Tests/Phrasea/Controller/User/PreferencesTest.php index 9edd92e723..ff3018e401 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/User/PreferencesTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/User/PreferencesTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\User; -class PreferencesTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class PreferencesTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php index b694fffb59..01c6b055d2 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Utils/ConnectionTestTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Utils; -class ControllerConnectionTestTest extends \PhraseanetWebTestCaseAbstract +class ControllerConnectionTestTest extends \PhraseanetWebTestCase { /** * Default route test diff --git a/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php b/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php index 3642b3ff24..8578c57886 100644 --- a/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php +++ b/tests/Alchemy/Tests/Phrasea/Controller/Utils/PathFileTestTest.php @@ -2,7 +2,7 @@ namespace Alchemy\Tests\Phrasea\Controller\Utils; -class ControllerPathFileTestTest extends \PhraseanetWebTestCaseAbstract +class ControllerPathFileTestTest extends \PhraseanetWebTestCase { /** * Default route test diff --git a/tests/Alchemy/Tests/Phrasea/Http/ServeFileResponseFactoryTest.php b/tests/Alchemy/Tests/Phrasea/Http/ServeFileResponseFactoryTest.php index da5bfddf9a..4dda717bc0 100644 --- a/tests/Alchemy/Tests/Phrasea/Http/ServeFileResponseFactoryTest.php +++ b/tests/Alchemy/Tests/Phrasea/Http/ServeFileResponseFactoryTest.php @@ -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; diff --git a/tests/Alchemy/Tests/Phrasea/Security/FirewallTest.php b/tests/Alchemy/Tests/Phrasea/Security/FirewallTest.php index 50af33cd2f..6641a572c7 100644 --- a/tests/Alchemy/Tests/Phrasea/Security/FirewallTest.php +++ b/tests/Alchemy/Tests/Phrasea/Security/FirewallTest.php @@ -4,7 +4,7 @@ namespace Alchemy\Tests\Phrasea\Security; use Alchemy\Phrasea\Security\Firewall; -class FirewallTest extends \PhraseanetWebTestCaseAuthenticatedAbstract +class FirewallTest extends \PhraseanetAuthenticatedWebTestCase { protected $client; diff --git a/tests/classes/Bridge/Api/Bridge_Api_AbstractTest.php b/tests/classes/Bridge/Api/Bridge_Api_AbstractTest.php index 7893943a8b..872f1e72ef 100644 --- a/tests/classes/Bridge/Api/Bridge_Api_AbstractTest.php +++ b/tests/classes/Bridge/Api/Bridge_Api_AbstractTest.php @@ -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; diff --git a/tests/classes/PhraseanetWebTestCaseAuthenticatedAbstract.php b/tests/classes/PhraseanetAuthenticatedWebTestCase.php similarity index 98% rename from tests/classes/PhraseanetWebTestCaseAuthenticatedAbstract.php rename to tests/classes/PhraseanetAuthenticatedWebTestCase.php index 692e462bba..08c9387a44 100644 --- a/tests/classes/PhraseanetWebTestCaseAuthenticatedAbstract.php +++ b/tests/classes/PhraseanetAuthenticatedWebTestCase.php @@ -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 = []; diff --git a/tests/classes/PhraseanetWebTestCase.php b/tests/classes/PhraseanetWebTestCase.php new file mode 100644 index 0000000000..e13e728c67 --- /dev/null +++ b/tests/classes/PhraseanetWebTestCase.php @@ -0,0 +1,6 @@ +