Commit dd3fc95e authored by gbyte.co's avatar gbyte.co

Small cleanup

parent 5833ff01
......@@ -3,8 +3,8 @@ cron_generate: true
remove_duplicates: true
skip_untranslated: false
batch_process_limit: 1500
base_url: ''
enabled_entity_types:
- 'node'
- 'taxonomy_term'
- 'menu_link_content'
base_url: ''
......@@ -16,14 +16,14 @@ simple_sitemap.settings:
batch_process_limit:
label: 'Batch process limit'
type: integer
base_url:
label: 'Base URL'
type: string
enabled_entity_types:
label: 'Enabled entity types'
type: sequence
sequence:
type: string
base_url:
label: 'Base URL'
type: string
simple_sitemap.bundle_settings.*.*:
label: 'Entity bundle settings'
......
......@@ -36,20 +36,16 @@ abstract class SimplesitemapTestBase extends UnitTestCase {
// Initial config set up. These are the settings the module sets upon
// installation (see sitemap_settings.settings.yml).
$this->config = [
'custom' => [
['path' => '/', 'priority' => '1.0'],
],
'entity_types' => [
'node' => [],
'taxonomy_term' => [],
'menu_link_content' => [],
],
'settings' => [
'max_links' => 2000,
'cron_generate' => TRUE,
'remove_duplicates' => TRUE,
'batch_process_limit' => 1500,
'max_links' => 2000,
'cron_generate' => TRUE,
'remove_duplicates' => TRUE,
'batch_process_limit' => 1500,
'enabled_entity_types' => [
'node',
'taxonomy_term',
'menu_link_content',
],
'base_url' => '',
];
// Mock the digtap service with the above settings.
......
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