diff --git a/core/modules/views/src/Tests/NewViewConfigSchemaTest.php b/core/modules/views/src/Tests/NewViewConfigSchemaTest.php index 6215306..7ee6862 100644 --- a/core/modules/views/src/Tests/NewViewConfigSchemaTest.php +++ b/core/modules/views/src/Tests/NewViewConfigSchemaTest.php @@ -28,7 +28,7 @@ class NewViewConfigSchemaTest extends ViewTestBase { * * @var array */ - public static $modules = array('views_ui', 'node'); + public static $modules = array('views_ui', 'node', 'comment', 'file', 'taxonomy', 'dblog'); /** * Tests creating brand new views. @@ -36,8 +36,9 @@ class NewViewConfigSchemaTest extends ViewTestBase { public function testNewViews() { $this->drupalLogin($this->drupalCreateUser(array('administer views'))); - // Create two new views in the UI. - foreach(array('node', 'node_revision', 'users') as $wizard_key) { + // Create views with all core Views wizards. + $wizards = array('node', 'node_revision', 'users', 'comment', 'file_managed', 'taxonomy_term', 'watchdog'); + foreach($wizards as $wizard_key) { $edit = array(); $edit['label'] = $this->randomString(); $edit['id'] = strtolower($this->randomMachineName()); diff --git a/core/modules/views/src/Tests/Wizard/WizardTestBase.php b/core/modules/views/src/Tests/Wizard/WizardTestBase.php index 0a2e998..16907b8 100644 --- a/core/modules/views/src/Tests/Wizard/WizardTestBase.php +++ b/core/modules/views/src/Tests/Wizard/WizardTestBase.php @@ -15,6 +15,15 @@ abstract class WizardTestBase extends ViewTestBase { /** + * Set to TRUE to strict check all configuration saved. + * + * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker + * + * @var bool + */ + protected $strictConfigSchema = TRUE; + + /** * Modules to enable. * * @var array