You are here

public function WysiwygLinebreaksConfigTest::setUp in Wysiwyg Linebreaks 8

Setup function.

Overrides BrowserTestBase::setUp

File

src/Tests/WysiwygLinebreaksConfigTest.php, line 45

Class

WysiwygLinebreaksConfigTest
Test the functionality of the Wysiwyg Linebreaks module for an admin user.

Namespace

Drupal\wysiwyg_linebreaks\Tests

Code

public function setUp() {

  // Enable modules required for this test.
  parent::setUp();

  // Set up admin user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer filters',
  ]);
}