You are here

MessageTemplateListTest.php in Message 8

File

tests/src/Functional/MessageTemplateListTest.php
View source
<?php

namespace Drupal\Tests\message\Functional;


/**
 * Testing the listing functionality for the Message template entity.
 *
 * @group Message
 */
class MessageTemplateListTest extends MessageTestBase {

  /**
   * The user object.
   *
   * @var \Drupal\user\UserInterface
   */
  protected $user;

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

}

Classes

Namesort descending Description
MessageTemplateListTest Testing the listing functionality for the Message template entity.