mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-26 00:16:12 +01:00
Adjust dataset paths for import
This commit is contained in:
parent
373505b9d4
commit
c4e28211af
5 changed files with 10 additions and 10 deletions
|
@ -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());
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue