public function TextEditorTest::setUp in The CodeMirror Editor 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ TextEditorTest.php, line 19
Class
- TextEditorTest
- Tests the CodeMirror text editor.
Namespace
Drupal\Tests\codemirror_editor\FunctionalJavascriptCode
public function setUp() {
parent::setUp();
$this
->createContentType([
'type' => 'page',
]);
$this
->createNode([
'title' => 'Example',
'body' => [
'value' => 'Test',
'format' => 'codemirror',
],
]);
}