diff --git a/lib/Drupal/views/Tests/ViewsStorageTest.php b/lib/Drupal/views/Tests/ViewsStorageTest.php index 348e3625f6956d85f76dc17a174b809e66224482..e456d18e76acc06b4471155b444b7a2bf6b684b4 100644 --- a/lib/Drupal/views/Tests/ViewsStorageTest.php +++ b/lib/Drupal/views/Tests/ViewsStorageTest.php @@ -152,6 +152,12 @@ function testConfigurableCRUD() { // Check value have been written to config. $config = config('views.view.archive')->get(); $this->assertEqual($view->tag, $config['tag'], 'View property saved to config.'); + + // Delete the config. + $created->delete(); + $config = config('views.view.archive_copy'); + + $this->assertTrue($config->isNew(), 'Deleted config is now new.'); } }