Mercurial > hg > cmmr2012-drupal-site
comparison core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
48 /** | 48 /** |
49 * Ensures that the exported standard configuration is up to date. | 49 * Ensures that the exported standard configuration is up to date. |
50 */ | 50 */ |
51 public function testStandardConfig() { | 51 public function testStandardConfig() { |
52 $skipped_config = []; | 52 $skipped_config = []; |
53 // FunctionalTestSetupTrait::installParameters() uses | 53 // FunctionalTestSetupTrait::installParameters() uses Drupal as site name |
54 // simpletest@example.com as mail address. | 54 // and simpletest@example.com as mail address. |
55 $skipped_config['system.site'][] = 'name: Drupal'; | |
56 $skipped_config['system.site'][] = 'mail: simpletest@example.com'; | |
55 $skipped_config['contact.form.feedback'][] = '- simpletest@example.com'; | 57 $skipped_config['contact.form.feedback'][] = '- simpletest@example.com'; |
56 // \Drupal\filter\Entity\FilterFormat::toArray() drops the roles of filter | 58 // \Drupal\filter\Entity\FilterFormat::toArray() drops the roles of filter |
57 // formats. | 59 // formats. |
58 $skipped_config['filter.format.basic_html'][] = 'roles:'; | 60 $skipped_config['filter.format.basic_html'][] = 'roles:'; |
59 $skipped_config['filter.format.basic_html'][] = '- authenticated'; | 61 $skipped_config['filter.format.basic_html'][] = '- authenticated'; |
60 $skipped_config['filter.format.full_html'][] = 'roles:'; | 62 $skipped_config['filter.format.full_html'][] = 'roles:'; |
61 $skipped_config['filter.format.full_html'][] = '- administrator'; | 63 $skipped_config['filter.format.full_html'][] = '- administrator'; |
62 $skipped_config['filter.format.restricted_html'][] = 'roles:'; | 64 $skipped_config['filter.format.restricted_html'][] = 'roles:'; |
63 $skipped_config['filter.format.restricted_html'][] = '- anonymous'; | 65 $skipped_config['filter.format.restricted_html'][] = '- anonymous'; |
66 // The site UUID is set dynamically for each installation. | |
67 $skipped_config['system.site'][] = 'uuid: ' . $this->config('system.site')->get('uuid'); | |
64 | 68 |
65 $this->assertInstalledConfig($skipped_config); | 69 $this->assertInstalledConfig($skipped_config); |
66 } | 70 } |
67 | 71 |
68 } | 72 } |