20 use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
38 $this->setUpBackendUserFromFixture(1);
39 $GLOBALS[
'LANG'] = GeneralUtility::makeInstance(LanguageService::class);
41 $formEngineTestService = GeneralUtility::makeInstance(FormTestService::class);
42 $formResult = $formEngineTestService->createNewRecordForm(
'sys_filemounts', [
'base' => 1]);
44 foreach (static::$filemountsFields as $expectedField) {
45 $this->assertNotFalse(
46 $formEngineTestService->formHtmlContainsField($expectedField, $formResult[
'html']),
47 'The field ' . $expectedField .
' is not in the form HTML'