mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 04:16:12 +01:00
TASK: Make test work with TYPO3 7.x
* Do not overwrite base ts setup, keep it and add test specific. * Adjust order of labels.
This commit is contained in:
parent
f9ec3ada4e
commit
eba74ebb93
1 changed files with 5 additions and 2 deletions
|
@ -98,7 +98,10 @@ class IndexTcaTableTest extends AbstractFunctionalTestCase
|
|||
*/
|
||||
public function indexingRespectsUserWhereClause()
|
||||
{
|
||||
$this->setUpFrontendRootPage(1, ['EXT:search_core/Tests/Functional/Fixtures/Indexing/UserWhereClause.ts']);
|
||||
$this->setUpFrontendRootPage(1, array_merge(
|
||||
parent::getTypoScriptFilesForFrontendRootPage(),
|
||||
['EXT:search_core/Tests/Functional/Fixtures/Indexing/UserWhereClause.ts']
|
||||
));
|
||||
$this->importDataSet('Tests/Functional/Fixtures/Indexing/UserWhereClause.xml');
|
||||
|
||||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class)
|
||||
|
@ -147,7 +150,7 @@ class IndexTcaTableTest extends AbstractFunctionalTestCase
|
|||
['_source' => [
|
||||
'uid' => '9',
|
||||
'CType' => 'Header', // Testing items
|
||||
'categories' => ['Category 2', 'Category 1'], // Testing mm (with sorting)
|
||||
'categories' => ['Category 1', 'Category 2'], // Testing mm (with sorting)
|
||||
]],
|
||||
$response->getData()['hits']['hits'][0],
|
||||
false,
|
||||
|
|
Loading…
Reference in a new issue