You are here

public function WidgetStringTest::setUp in The CodeMirror Editor 8

Overrides BrowserTestBase::setUp

File

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

Class

WidgetStringTest
Tests the CodeMirror field widget (string_long).

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

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

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