You are here

HelpPageReverseOrderTest.php in Drupal 8

Same filename and directory in other branches
  1. 9 core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php

File

core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php
View source
<?php

namespace Drupal\Tests\help\Functional;


/**
 * Verify the order of the help page with an alter hook.
 *
 * @group help
 */
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',
  ];

}

Classes

Namesort descending Description
HelpPageReverseOrderTest Verify the order of the help page with an alter hook.