Skip to content
Snippets Groups Projects
Commit e7a85fdf authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2353691 by micnap | ultimike: D6->D8 Migration missing variable: page_compression.

parent 999b26c1
No related branches found
No related tags found
No related merge requests found
......@@ -9,11 +9,13 @@ source:
- preprocess_js
- cache_lifetime
- cache
- page_compression
process:
'css/preprocess': preprocess_css
'js/preprocess': preprocess_js
'cache/page/max_age': cache_lifetime
'cache/page/use_internal': cache
'response/gzip': page_compression
destination:
plugin: config
config_name: system.performance
......@@ -37,6 +37,10 @@ public function load() {
'name' => 'cache',
'value' => 'i:1;',
))
->values(array(
'name' => 'page_compression',
'value' => 's:1:"1";',
))
->execute();
}
......
......@@ -41,6 +41,7 @@ public function testSystemPerformance() {
$this->assertIdentical($config->get('js.preprocess'), FALSE);
$this->assertIdentical($config->get('cache.page.max_age'), 0);
$this->assertIdentical($config->get('cache.page.use_internal'), TRUE);
$this->assertIdentical($config->get('response.gzip'), TRUE);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment