You are here

public function MessageTemplateUiTest::setUp in Message 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MessageTemplateUiTest.php, line 43

Class

MessageTemplateUiTest
Testing the CRUD functionality for the Message template entity.

Namespace

Drupal\Tests\message\Functional

Code

public function setUp() {
  parent::setUp();
  $this->account = $this
    ->drupalCreateUser([
    'administer message templates',
    'translate configuration',
    'use text format filtered_html',
  ]);
  $this->entityTypeManager = $this->container
    ->get('entity_type.manager');
}