Commit 5e676a21 authored by Christian Kuhn's avatar Christian Kuhn Committed by Georg Ringer
Browse files

[TASK] Clean up $coreExtensionsToLoad in functional tests

FunctionalTestCase loads these core extensions by default:
core, backend, frontend, extbase, install, recordlist, fluid

Functional tests do not need to set these explicitely in
$coreExtensionsToLoad. The patch cleans this up.

Resolves: #94591
Releases: master
Change-Id: I038cea486c20edc5262dc6a575ed965c876bdc88
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69968


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
parent 936bb29c
......@@ -19,9 +19,7 @@ use TYPO3\CMS\Core\Tests\Functional\DataHandling\AbstractDataHandlerActionTestCa
class ActionTest extends AbstractDataHandlerActionTestCase
{
protected $coreExtensionsToLoad = [
'workspaces',
];
protected $coreExtensionsToLoad = ['workspaces'];
/**
* @var array
......
......@@ -33,8 +33,6 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
*/
class PageRepositoryTest extends FunctionalTestCase
{
protected $coreExtensionsToLoad = ['frontend'];
protected function setUp(): void
{
parent::setUp();
......
......@@ -23,11 +23,6 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
class RequestHandlerConfigurationFactoryTest extends FunctionalTestCase
{
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @test
*/
......
......@@ -51,11 +51,6 @@ class ControllerArgumentsMappingTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
protected function setUp(): void
{
parent::setUp();
......
......@@ -23,11 +23,6 @@ use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
class QueryResultPaginatorTest extends FunctionalTestCase
{
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var array
*/
......
......@@ -34,11 +34,6 @@ class AddTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var BlogRepository
*/
......
......@@ -31,11 +31,6 @@ class CountTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var PostRepository
*/
......
......@@ -32,11 +32,6 @@ class EnableFieldsTest extends AbstractDataHandlerActionTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['core', 'extbase', 'fluid'];
/**
* @var bool Reference index testing not relevant here.
*/
......
......@@ -35,11 +35,6 @@ class DataMapFactoryTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* Sets up this test suite.
*/
......
......@@ -33,11 +33,6 @@ class DataMapperTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* Sets up this test suite.
*/
......
......@@ -32,11 +32,6 @@ class ImplementationClassNameTest extends FunctionalTestCase
'typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/class_overriding/b',
];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
public function setUp(): void
{
parent::setUp();
......
......@@ -38,11 +38,6 @@ class InTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* Sets up this test suite.
*/
......
......@@ -28,11 +28,6 @@ class IsDirtyTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var BlogRepository
*/
......
......@@ -37,11 +37,6 @@ class OperatorTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* Sets up this test suite.
*/
......
......@@ -41,11 +41,6 @@ class QueryLocalizedDataTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var PostRepository
*/
......
......@@ -27,11 +27,6 @@ class QueryParserTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* Sets up this test suite.
*/
......
......@@ -46,8 +46,6 @@ class RelationTest extends FunctionalTestCase
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* Sets up this test suite.
*/
......
......@@ -47,11 +47,6 @@ class TranslatedSiteContentTest extends AbstractDataHandlerActionTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var TtContentRepository
*/
......
......@@ -36,11 +36,6 @@ class TranslationTest extends FunctionalTestCase
*/
protected $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example'];
/**
* @var array
*/
protected $coreExtensionsToLoad = ['extbase', 'fluid'];
/**
* @var PostRepository
*/
......
......@@ -41,11 +41,7 @@ class WorkspaceTest extends FunctionalTestCase
/**
* @var array
*/
protected $coreExtensionsToLoad = [
'extbase',
'fluid',
'workspaces',
];
protected $coreExtensionsToLoad = ['workspaces'];
/**
* @var BlogRepository
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment