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

Issue #2353695 by ultimike: D6->D8 Migration missing variable: feed_item_length.

parent f46096ae
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,10 @@ source:
plugin: variable
variables:
- feed_default_items
- feed_item_length
process:
'items/limit': feed_default_items
'items/view_mode': feed_item_length
destination:
plugin: config
config_name: system.rss
......@@ -25,6 +25,10 @@ public function load() {
'name' => 'feed_default_items',
'value' => 'i:10;',
))
->values(array(
'name' => 'feed_item_length',
'value' => 's:5:"title";',
))
->execute();
}
}
......@@ -38,6 +38,7 @@ protected function setUp() {
public function testSystemRss() {
$config = \Drupal::config('system.rss');
$this->assertIdentical($config->get('items.limit'), 10);
$this->assertIdentical($config->get('items.view_mode'), 'title');
}
}
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