You are here

public function ChangeMessageTypeTest::changeMessageTypeDataProvider in Redirect 403 to User Login 2.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/ChangeMessageTypeTest.php \Drupal\Tests\r4032login\Functional\ChangeMessageTypeTest::changeMessageTypeDataProvider()

Data provider for testChangeMessageType.

File

tests/src/Functional/ChangeMessageTypeTest.php, line 48

Class

ChangeMessageTypeTest
Test that it is possible to change the type of the "Access denied" message.

Namespace

Drupal\Tests\r4032login\Functional

Code

public function changeMessageTypeDataProvider() {
  return [
    [
      'error',
      'div[aria-label="Error message"]',
    ],
    [
      'warning',
      'div[aria-label="Warning message"]',
    ],
    [
      'status',
      'div[aria-label="Status message"]',
    ],
  ];
}