Feature/filestorage securityservices delete (#133)
* sfs: Add support for security services Delete
* sfs: Add acceptance tests for security service Delete
diff --git a/acceptance/openstack/sharedfilesystems/v2/securityservices_test.go b/acceptance/openstack/sharedfilesystems/v2/securityservices_test.go
index 8ef917c..0249733 100644
--- a/acceptance/openstack/sharedfilesystems/v2/securityservices_test.go
+++ b/acceptance/openstack/sharedfilesystems/v2/securityservices_test.go
@@ -6,7 +6,7 @@
"github.com/gophercloud/gophercloud/acceptance/clients"
)
-func TestSecurityServiceCreate(t *testing.T) {
+func TestSecurityServiceCreateDelete(t *testing.T) {
client, err := clients.NewSharedFileSystemV2Client()
if err != nil {
t.Fatalf("Unable to create shared file system client: %v", err)
@@ -17,7 +17,7 @@
t.Fatalf("Unable to create security service: %v", err)
}
- // TODO: Delete the security service once Delete is supported
-
PrintSecurityService(t, securityService)
+
+ defer DeleteSecurityService(t, client, securityService)
}