protected function ContentEntityAutosaveFormTestBase::prepareSetUp in Autosave Form 8
Prepares the test setup.
Overrides AutosaveFormTestBase::prepareSetUp
1 call to ContentEntityAutosaveFormTestBase::prepareSetUp()
- NodeAutosaveFormTest::prepareSetUp in tests/
src/ FunctionalJavascript/ ContentEntity/ NodeAutosaveFormTest.php - Prepares the test setup.
1 method overrides ContentEntityAutosaveFormTestBase::prepareSetUp()
- NodeAutosaveFormTest::prepareSetUp in tests/
src/ FunctionalJavascript/ ContentEntity/ NodeAutosaveFormTest.php - Prepares the test setup.
File
- tests/
src/ FunctionalJavascript/ ContentEntity/ ContentEntityAutosaveFormTestBase.php, line 70
Class
- ContentEntityAutosaveFormTestBase
- Base test class for testing autosave support for entity forms.
Namespace
Drupal\Tests\autosave_form\FunctionalJavascript\ContentEntityCode
protected function prepareSetUp() {
$this
->createMultipleTestField();
$this
->createRequiredTestField();
parent::prepareSetUp();
$this->originalEntityTitle = NULL;
$this->changedEntityTitle = NULL;
}