comparison core/modules/system/src/Tests/JsMessageTestCases.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
1 <?php
2
3 namespace Drupal\system\Tests;
4
5 /**
6 * Test cases for JS Messages tests.
7 */
8 class JsMessageTestCases {
9
10 /**
11 * Gets the test types.
12 *
13 * @return string[]
14 * The test types.
15 */
16 public static function getTypes() {
17 return ['status', 'error', 'warning'];
18 }
19
20 /**
21 * Gets the test messages selectors.
22 *
23 * @return string[]
24 * The test test messages selectors.
25 *
26 * @see core/modules/system/tests/themes/test_messages/templates/status-messages.html.twig
27 */
28 public static function getMessagesSelectors() {
29 return ['', '[data-drupal-messages-other]'];
30 }
31
32 }