You are here

public function HelpEmptyPageTest::register in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()
  2. 9 core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php \Drupal\Tests\help\Kernel\HelpEmptyPageTest::register()

File

core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php, line 25

Class

HelpEmptyPageTest
Tests the empty HTML page.

Namespace

Drupal\Tests\help\Kernel

Code

public function register(ContainerBuilder $container) {
  parent::register($container);
  $container
    ->set('url_generator', new SupernovaGenerator());
}