Commit 752319c1 authored by damiankloip's avatar damiankloip Committed by tim.plunkett
Browse files

Added delete test

parent 1c68d776
......@@ -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.');
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment