You are here

public function WidgetFormattedTest::setUp in The CodeMirror Editor 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/WidgetFormattedTest.php, line 20

Class

WidgetFormattedTest
Tests the CodeMirror field widget (text_long).

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();

  // The 'string_long' widget uses the 'test2' test content type.
  $this->contentTypeName = 'test2';
  $this->fieldName = 'field_code2';
}