Commit f0f758a4 authored by catch's avatar catch
Browse files

Issue #3207893 by alexpott: Set system.css_js_query_string during install

parent db3ad8f8
......@@ -1313,6 +1313,9 @@ function system_install() {
$site->set('name', 'Drupal');
}
$site->save(TRUE);
// Populate the dummy query string added to all CSS and JavaScript files.
_drupal_flush_css_js();
}
/**
......
......@@ -21,6 +21,7 @@ class InstallerTest extends InstallerTestBase {
* Ensures that the user page is available after installation.
*/
public function testInstaller() {
$this->assertNotNull(\Drupal::state()->get('system.css_js_query_string'), 'The dummy query string should be set during install');
$this->assertSession()->addressEquals('user/1');
$this->assertSession()->statusCodeEquals(200);
// Confirm that we are logged-in after installation.
......
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