diff --git a/core/modules/config/src/Tests/ConfigCRUDTest.php b/core/modules/config/src/Tests/ConfigCRUDTest.php index a751997..4c3642e 100644 --- a/core/modules/config/src/Tests/ConfigCRUDTest.php +++ b/core/modules/config/src/Tests/ConfigCRUDTest.php @@ -24,20 +24,20 @@ class ConfigCRUDTest extends KernelTestBase { /** - * Set to TRUE to strict check all configuration saved. + * Exempt from strict schema checking. * * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker * * @var bool */ - protected $strictConfigSchema = TRUE; + protected $strictConfigSchema = FALSE; /** * Modules to enable. * * @var array */ - public static $modules = array('system', 'config_test'); + public static $modules = array('system'); /** * Tests CRUD operations. @@ -222,6 +222,7 @@ function testValueValidation() { * Tests data type handling. */ public function testDataTypes() { + \Drupal::service('module_installer')->install(array('config_test')); $storage = new DatabaseStorage($this->container->get('database'), 'config'); $name = 'config_test.types'; $config = $this->container->get('config.factory')->get($name); diff --git a/core/modules/config/src/Tests/ConfigFileContentTest.php b/core/modules/config/src/Tests/ConfigFileContentTest.php index 03cad33..c1b2432 100644 --- a/core/modules/config/src/Tests/ConfigFileContentTest.php +++ b/core/modules/config/src/Tests/ConfigFileContentTest.php @@ -25,13 +25,13 @@ class ConfigFileContentTest extends KernelTestBase { public static $modules = array('config_test'); /** - * Set to TRUE to strict check all configuration saved. + * Exempt from strict schema checking. * * @see \Drupal\Core\Config\Testing\ConfigSchemaChecker * * @var bool */ - protected $strictConfigSchema = TRUE; + protected $strictConfigSchema = FALSE; /** * Tests setting, writing, and reading of a configuration setting. diff --git a/core/modules/config/tests/config_test/config/schema/config_test.schema.yml b/core/modules/config/tests/config_test/config/schema/config_test.schema.yml index feff6cf..9240d4b 100644 --- a/core/modules/config/tests/config_test/config/schema/config_test.schema.yml +++ b/core/modules/config/tests/config_test/config/schema/config_test.schema.yml @@ -112,20 +112,6 @@ config_test.system: type: string label: '404' -config_test.crud: - type: mapping - label: 'Configuration test' - mapping: - value: - type: string - label: 'Value' - '404': - type: string - label: '404' - -config_test.crud_rename_no_cache: - type: config_test.crud - config_test.new: type: mapping label: 'Configuration test' @@ -160,63 +146,3 @@ config_test.foo: config_test.bar: type: config_test.foo - -namespace.object: - type: mapping - -foo.bar: - type: mapping - mapping: - foo: - type: string - biff: - type: mapping - mapping: - bang: - type: string - array: - type: mapping - mapping: - foo: - type: string - biff: - type: mapping - mapping: - bang: - type: string - nested: - type: mapping - mapping: - array: - type: mapping - mapping: - foo: - type: string - biff: - type: mapping - mapping: - bang: - type: string - 'false': - type: boolean - 'true': - type: boolean - 'null': - type: string - casting_array: - type: mapping - mapping: - cast: - type: mapping - mapping: - 'false': - type: boolean - -foo.baz: - type: mapping - mapping: - foo: - type: string - -biff.bang: - type: foo.baz