diff --git a/core/modules/config/src/Tests/SchemaConfigListenerTest.php b/core/modules/config/src/Tests/SchemaConfigListenerTest.php index 84bf60e..579d916 100644 --- a/core/modules/config/src/Tests/SchemaConfigListenerTest.php +++ b/core/modules/config/src/Tests/SchemaConfigListenerTest.php @@ -35,12 +35,12 @@ public function testConfigSchemaChecker() { // Test a non-existing schema. $message = 'Expected SchemaIncompleteException thrown'; try { - \Drupal::config('config_schema_test.noschema')->set('foo', 'bar')->save(); + \Drupal::config('config_schema_test.schemaless')->set('foo', 'bar')->save(); $this->fail($message); } catch (SchemaIncompleteException $e) { $this->pass($message); - $this->assertEqual('No schema for config_schema_test.noschema', $e->getMessage()); + $this->assertEqual('No schema for config_schema_test.schemaless', $e->getMessage()); } // Test a valid schema. diff --git a/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php b/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php index 10ddc7b..878665c 100644 --- a/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php +++ b/core/modules/config/src/Tests/SchemaConfigListenerWebTest.php @@ -36,12 +36,12 @@ public function testConfigSchemaChecker() { // Test a non-existing schema. $msg = 'Expected SchemaIncompleteException thrown'; try { - \Drupal::config('config_schema_test.noschema')->set('foo', 'bar')->save(); + \Drupal::config('config_schema_test.schemaless')->set('foo', 'bar')->save(); $this->fail($msg); } catch (SchemaIncompleteException $e) { $this->pass($msg); - $this->assertEqual('No schema for config_schema_test.noschema', $e->getMessage()); + $this->assertEqual('No schema for config_schema_test.schemaless', $e->getMessage()); } // Test a valid schema. @@ -71,7 +71,7 @@ public function testConfigSchemaChecker() { // Test that the config event listener is working in the child site. $this->drupalGet('config_test/schema_listener'); - $this->assertText('No schema for config_schema_test.noschema'); + $this->assertText('No schema for config_schema_test.schemaless'); } } diff --git a/core/modules/config/tests/config_test/src/SchemaListenerController.php b/core/modules/config/tests/config_test/src/SchemaListenerController.php index fe91ade..baf2970 100644 --- a/core/modules/config/tests/config_test/src/SchemaListenerController.php +++ b/core/modules/config/tests/config_test/src/SchemaListenerController.php @@ -20,7 +20,7 @@ class SchemaListenerController extends ControllerBase { */ public function test() { try { - $this->config('config_schema_test.noschema')->set('foo', 'bar')->save(); + $this->config('config_schema_test.schemaless')->set('foo', 'bar')->save(); } catch (SchemaIncompleteException $e) { return [