Commit adc46c86 authored by catch's avatar catch

Issue #2376147 by alexpott, joelpittet, amateescu: Installer is missing all of...

Issue #2376147 by alexpott, joelpittet, amateescu: Installer is missing all of the global Seven theme stylesheets
parent 03d3d538
......@@ -74,6 +74,10 @@ protected function renderBarePage(array $content, $title, array $page_additions,
// information about this; the exact same pattern is used there and
// explained in detail there.
drupal_render_root($html['page']);
// Add the bare minimum of attachments from the system module and the
// current maintenance theme.
system_page_attachments($html['page']);
return drupal_render($html);
}
......
......@@ -32,4 +32,14 @@ public function testInstaller() {
)));
}
/**
* Installer step: Select language.
*/
protected function setUpLanguage() {
// Test that \Drupal\Core\Render\BareHtmlPageRenderer adds assets and
// metatags as expected to the first page of the installer.
$this->assertRaw('core/themes/seven/css/components/buttons.css');
$this->assertRaw('<meta name="charset" charset="utf-8" />');
parent::setUpLanguage();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment