Commit 864a9b9e authored by alexpott's avatar alexpott

Issue #2353699 by jarsenx | ultimike: D6->D8 Migration missing variable: default_nodes_main.

parent 56af6886
......@@ -6,11 +6,10 @@ source:
plugin: variable
variables:
- node_admin_theme
- default_nodes_main
process:
use_admin_theme: node_admin_theme
items_per_page: default_nodes_main
destination:
plugin: config
config_name: node.settings
migration_dependencies:
required:
- d6_node_type
......@@ -25,6 +25,10 @@ public function load() {
'name' => 'node_admin_theme',
'value' => 'i:0;',
))
->values(array(
'name' => 'default_nodes_main',
'value' => 's:1:"3";',
))
->execute();
}
}
......@@ -47,7 +47,8 @@ protected function setUp() {
*/
public function testNodeSettings() {
$config = \Drupal::config('node.settings');
$this->assertIdentical($config->get('use_admin_theme'), false);
$this->assertIdentical($config->get('use_admin_theme'), FALSE);
$this->assertIdentical($config->get('items_per_page'), 3);
$this->assertConfigSchema(\Drupal::service('config.typed'), 'node.settings', $config->get());
}
......
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