You are here

protected function TestBase::setUp in Twig Field 8

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/TestBase.php, line 28

Class

TestBase
Base class for Twig field tests.

Namespace

Drupal\Tests\twig_field\FunctionalJavascript

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->createContentType([
    'type' => 'test',
  ]);
}