You are here

class HelpPageReverseOrderTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest
  2. 9 core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest

Verify the order of the help page with an alter hook.

@group help

Hierarchy

Expanded class hierarchy of HelpPageReverseOrderTest

File

core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php, line 10

Namespace

Drupal\Tests\help\Functional
View source
class HelpPageReverseOrderTest extends HelpPageOrderTest {

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'more_help_page_test',
  ];

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * Strings to search for on admin/help, in order.
   *
   * These are reversed, due to the alter hook.
   *
   * @var string[]
   */
  protected $stringOrder = [
    'Tours guide you',
    'Module overviews are provided',
  ];

}

Members