You are here

protected function HtmlTitleLayoutBuilderTest::setUp in HTML Title 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/HtmlTitleLayoutBuilderTest.php, line 38

Class

HtmlTitleLayoutBuilderTest
Tests the HTML Title in combination with layout_builder.

Namespace

Drupal\Tests\html_title\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this->rootUser);
  $this
    ->drupalCreateContentType([
    'type' => 'test',
  ]);
  $this->node = $this
    ->drupalCreateNode([
    'title' => 'Test <sup>sup</sup>-tag',
    'type' => 'test',
  ]);
}