parent::
setUp();
// These tests rely on some markup from the 'stark' theme and we test theme
// provided help topics.
\Drupal::
service('theme_installer'
)->
install(['help_topics_test_theme'
]);
// Place various blocks.
$settings =
[ 'theme' => 'stark',
'region' => 'help',
];
$this->
placeBlock('help_block',
$settings);
$this->
placeBlock('local_tasks_block',
$settings);
$this->
placeBlock('local_actions_block',
$settings);
$this->
placeBlock('page_title_block',
$settings);
$this->
placeBlock('system_breadcrumb_block',
$settings);
// Create users.
$this->adminUser =
$this->
createUser([ 'access administration pages',
'view the administration theme',
'administer permissions',
'administer site configuration',