protected function AutosaveTest::setUp in Lightning Workflow 8.3
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ AutosaveTest.php, line 32
Class
- AutosaveTest
- Tests Lightning Workflow's integration with Autosave Form.
Namespace
Drupal\Tests\lightning_workflow\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$this
->drupalCreateContentType([
'type' => 'moderated',
'third_party_settings' => [
'lightning_workflow' => [
'autosave' => TRUE,
'workflow' => 'editorial',
],
],
]);
$this
->drupalPlaceBlock('local_tasks_block');
}