Adjust dataset paths for import

This commit is contained in:
Daniel Siepmann 2019-05-17 16:47:17 +02:00
parent 373505b9d4
commit c4e28211af
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
5 changed files with 10 additions and 10 deletions

View file

@ -37,7 +37,7 @@ abstract class AbstractFunctionalTestCase extends CoreTestCase
\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->initializeLanguageObject();
foreach ($this->getDataSets() as $dataSet) {
$this->importDataSet($dataSet);
$this->importDataSet('EXT:search_core/' . $dataSet);
}
$this->setUpFrontendRootPage(1, $this->getTypoScriptFilesForFrontendRootPage());

View file

@ -124,7 +124,7 @@ class IndexTcaTableTest extends AbstractFunctionalTestCase
parent::getTypoScriptFilesForFrontendRootPage(),
['EXT:search_core/Tests/Functional/Fixtures/Indexing/UserWhereClause.ts']
));
$this->importDataSet('Tests/Functional/Fixtures/Indexing/UserWhereClause.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/UserWhereClause.xml');
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class)
->get(IndexerFactory::class)
@ -157,7 +157,7 @@ class IndexTcaTableTest extends AbstractFunctionalTestCase
*/
public function resolvesRelations()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/ResolveRelations.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/ResolveRelations.xml');
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class)
->get(IndexerFactory::class)

View file

@ -33,7 +33,7 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveInlineRelation()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/InlineRelation.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/InlineRelation.xml');
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'sys_file';
@ -55,7 +55,7 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveStaticSelectItems()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/StaticSelectItems.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/StaticSelectItems.xml');
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'tt_content';
@ -74,7 +74,7 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveForeignDb()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignDb.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignDb.xml');
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'tt_content';
@ -96,7 +96,7 @@ class TcaRelationResolvingProcessorTest extends AbstractFunctionalTestCase
*/
public function resolveForeignMmSelect()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignMmSelect.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RelationResolver/ForeignMmSelect.xml');
$objectManager = GeneralUtility::makeInstance(ObjectManager::class);
$table = 'tt_content';

View file

@ -33,7 +33,7 @@ class PagesIndexerTest extends AbstractFunctionalTestCase
*/
public function pagesContainAllAdditionalInformation()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/IndexTcaTable.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/IndexTcaTable.xml');
$objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
$tableName = 'pages';
@ -71,7 +71,7 @@ class PagesIndexerTest extends AbstractFunctionalTestCase
*/
public function rootLineIsRespectedDuringIndexing($dataSetPath)
{
$this->importDataSet($dataSetPath);
$this->importDataSet('EXT:search_core/' . $dataSetPath);
$objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
$tableName = 'pages';

View file

@ -43,7 +43,7 @@ class TcaIndexerTest extends AbstractFunctionalTestCase
*/
public function respectRootLineBlacklist()
{
$this->importDataSet('Tests/Functional/Fixtures/Indexing/TcaIndexer/RespectRootLineBlacklist.xml');
$this->importDataSet('EXT:search_core/Tests/Functional/Fixtures/Indexing/TcaIndexer/RespectRootLineBlacklist.xml');
$objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class);
$tableName = 'tt_content';
$tableService = $objectManager->get(