1 system.test | CustomLogoTestCase::setUp() |
Implement setUp().
Overrides BackdropWebTestCase::setUp
File
- core/
modules/ system/ tests/ system.test, line 1061 - Tests for system.module.
Class
Code
function setUp() {
parent::setUp();
// Create an administrative user.
$this->admin_user = $this->backdropCreateUser(array('administer site configuration'));
$this->backdropLogin($this->admin_user);
theme_enable(array('stark'));
config_set('system.core', 'theme_default', 'stark');
}