mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 14:36:11 +01:00
BUGFIX: Fix broken tests
* Always provide backend user for tests, as we always add language handling. * Only this way all relations can be resolved in all tests.
This commit is contained in:
parent
0953f4bb1f
commit
1e75661395
2 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,7 @@ abstract class AbstractFunctionalTestCase extends CoreTestCase
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
|
$this->setUpBackendUserFromFixture(1);
|
||||||
\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->initializeLanguageObject();
|
\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->initializeLanguageObject();
|
||||||
|
|
||||||
// Provide necessary configuration for extension
|
// Provide necessary configuration for extension
|
||||||
|
|
|
@ -129,7 +129,6 @@ class IndexTcaTableTest extends AbstractFunctionalTestCase
|
||||||
*/
|
*/
|
||||||
public function resolvesRelations()
|
public function resolvesRelations()
|
||||||
{
|
{
|
||||||
$this->setUpBackendUserFromFixture(1);
|
|
||||||
$this->importDataSet('Tests/Functional/Fixtures/Indexing/ResolveRelations.xml');
|
$this->importDataSet('Tests/Functional/Fixtures/Indexing/ResolveRelations.xml');
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class)
|
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class)
|
||||||
|
|
Loading…
Reference in a new issue