55 $this->setUpBackendUserFromFixture(1);
56 $GLOBALS[
'LANG'] = GeneralUtility::makeInstance(LanguageService::class);
58 $formEngineTestService = GeneralUtility::makeInstance(FormTestService::class);
59 $formResult = $formEngineTestService->createNewRecordForm(
'fe_users');
61 foreach (static::$frontendUsersFields as $expectedField) {
62 $this->assertNotFalse(
63 $formEngineTestService->formHtmlContainsField($expectedField, $formResult[
'html']),
64 'The field ' . $expectedField .
' is not in the form HTML'
68 $this->assertNotFalse(
69 strpos($formResult[
'html'],
'Last login'),
70 'The field Last login is not in the HTML'