class HelpPageReverseOrderTest
Same name in this branch
- 11.x core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest
Same name and namespace in other branches
- 10 core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest
- 9 core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest
- 8.9.x core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest
- main core/modules/help/tests/src/Functional/HelpPageReverseOrderTest.php \Drupal\Tests\help\Functional\HelpPageReverseOrderTest
Verify the order of the help page with an alter hook.
Attributes
#[Group('help')]
#[RunTestsInSeparateProcesses]
Hierarchy
- class \Drupal\KernelTests\KernelTestBase implements \Drupal\Core\DependencyInjection\ServiceProviderInterface uses \Drupal\Tests\DrupalTestCaseTrait, \Drupal\KernelTests\AssertContentTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\ExtensionListTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\PhpUnitCompatibilityTrait, \Prophecy\PhpUnit\ProphecyTrait, \Drupal\TestTools\Extension\DeprecationBridge\ExpectDeprecationTrait, \Drupal\Tests\BrowserHtmlDebugTrait, \Drupal\Tests\HttpKernelUiHelperTrait extends \PHPUnit\Framework\TestCase
- class \Drupal\Tests\help\Kernel\HelpPageOrderTest uses \Drupal\Tests\HttpKernelUiHelperTrait, \Drupal\Tests\user\Traits\UserCreationTrait extends \Drupal\KernelTests\KernelTestBase
- class \Drupal\Tests\help\Kernel\HelpPageReverseOrderTest extends \Drupal\Tests\help\Kernel\HelpPageOrderTest
- class \Drupal\Tests\help\Kernel\HelpPageOrderTest uses \Drupal\Tests\HttpKernelUiHelperTrait, \Drupal\Tests\user\Traits\UserCreationTrait extends \Drupal\KernelTests\KernelTestBase
Expanded class hierarchy of HelpPageReverseOrderTest
File
-
core/
modules/ help/ tests/ src/ Kernel/ HelpPageReverseOrderTest.php, line 13
Namespace
Drupal\Tests\help\KernelView source
class HelpPageReverseOrderTest extends HelpPageOrderTest {
/**
* {@inheritdoc}
*/
protected static $modules = [
'more_help_page_test',
];
/**
* Strings to search for on admin/help, in order.
*
* These are reversed, due to the alter hook.
*
* @var string[]
*/
protected array $stringOrder = [
'This description should appear',
'Module overviews are provided',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.