You are here

public function MessageTemplateListTest::testEntityTypeList in Message 8

Listing of messages.

File

tests/src/Functional/MessageTemplateListTest.php, line 22

Class

MessageTemplateListTest
Testing the listing functionality for the Message template entity.

Namespace

Drupal\Tests\message\Functional

Code

public function testEntityTypeList() {
  $this->user = $this
    ->drupalCreateUser([
    'administer message templates',
  ]);
  $this
    ->drupalLogin($this->user);
  $this
    ->drupalGet('admin/structure/message');
  $this
    ->assertResponse(200);
}