You are here

public function MessageNotifyUiTest::setUp in Message UI 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MessageNotifyUiTest.php, line 20

Class

MessageNotifyUiTest
Testing the message notify button.

Namespace

Drupal\Tests\message_ui\Functional

Code

public function setUp() {
  parent::setUp();
  $this->account = $this
    ->drupalCreateUser([
    'send message through the ui',
    'overview messages',
  ]);

  // Create Message template foo.
  $this
    ->createMessageTemplate('foo', 'Dummy test', 'Example text.', [
    'Dummy message',
  ]);
}