diff --git a/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php b/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php index 85069a9..3b406b1 100644 --- a/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php +++ b/core/modules/config/lib/Drupal/config/Tests/ConfigSchemaTest.php @@ -44,7 +44,7 @@ public function setUp() { */ function testSchemaMapping() { // Nonexistent configuration key will have Unknown as metadata. - $this->assertIdentical(FALSE, config_typed()->hasSchema('config_test.no_such_key')); + $this->assertIdentical(FALSE, config_typed()->hasConfigSchema('config_test.no_such_key')); $definition = config_typed()->getDefinition('config_test.no_such_key'); $expected = array(); $expected['label'] = 'Unknown'; @@ -52,12 +52,12 @@ function testSchemaMapping() { $this->assertEqual($definition, $expected, 'Retrieved the right metadata for nonexistent configuration.'); // Configuration file without schema will return Unknown as well. - $this->assertIdentical(FALSE, config_typed()->hasSchema('config_test.noschema')); + $this->assertIdentical(FALSE, config_typed()->hasConfigSchema('config_test.noschema')); $definition = config_typed()->getDefinition('config_test.noschema'); $this->assertEqual($definition, $expected, 'Retrieved the right metadata for configuration with no schema.'); // Configuration file with only some schema. - $this->assertIdentical(TRUE, config_typed()->hasSchema('config_test.someschema')); + $this->assertIdentical(TRUE, config_typed()->hasConfigSchema('config_test.someschema')); $definition = config_typed()->getDefinition('config_test.someschema'); $expected = array(); $expected['label'] = 'Schema test data';