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:
Daniel Siepmann 2016-12-13 17:10:23 +01:00
parent 0953f4bb1f
commit 1e75661395
2 changed files with 1 additions and 1 deletions

View file

@ -40,6 +40,7 @@ abstract class AbstractFunctionalTestCase extends CoreTestCase
{
parent::setUp();
$this->setUpBackendUserFromFixture(1);
\TYPO3\CMS\Core\Core\Bootstrap::getInstance()->initializeLanguageObject();
// Provide necessary configuration for extension

View file

@ -129,7 +129,6 @@ class IndexTcaTableTest extends AbstractFunctionalTestCase
*/
public function resolvesRelations()
{
$this->setUpBackendUserFromFixture(1);
$this->importDataSet('Tests/Functional/Fixtures/Indexing/ResolveRelations.xml');
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(ObjectManager::class)