1 system.test protected DebugReportTestCase::setUp()

File

core/modules/system/tests/system.test, line 2529
Tests for system.module.

Class

DebugReportTestCase
Tests administrative overview pages.

Code

protected function setUp() {
  parent::setUp();

  // Create an administrator user.
  $this->admin_user = $this->backdropCreateUser(array('access site reports'));
  $this->backdropLogin($this->admin_user);

  // Set an admin theme.
  theme_enable(array('seven'));
  config_set('system.core', 'admin_theme', 'seven');
}