diff --git a/core/modules/config/src/Tests/ConfigSchemaTest.php b/core/modules/config/src/Tests/ConfigSchemaTest.php index 98f1844..1643e91 100644 --- a/core/modules/config/src/Tests/ConfigSchemaTest.php +++ b/core/modules/config/src/Tests/ConfigSchemaTest.php @@ -313,7 +313,7 @@ function testSchemaData() { // Finally update some object using a configuration wrapper. $new_slogan = 'Site slogan for testing configuration metadata'; $wrapper = \Drupal::service('config.typed')->get('system.site'); - $wrapper->set('slogan', $new_slogan); + \Drupal::config('system.site')->set('slogan', $new_slogan)->save(); $site_slogan = $wrapper->get('slogan'); $this->assertEqual($site_slogan->getValue(), $new_slogan, 'Successfully updated the contained configuration data'); }