blob: ff2073bd861c5040c9537e91a3e2baf5616eec9b [file] [log] [blame]
package testing
import (
"testing"
"github.com/gophercloud/gophercloud/openstack/cdn/v1/serviceassets"
th "github.com/gophercloud/gophercloud/testhelper"
fake "github.com/gophercloud/gophercloud/testhelper/client"
)
func TestDelete(t *testing.T) {
th.SetupHTTP()
defer th.TeardownHTTP()
HandleDeleteCDNAssetSuccessfully(t)
err := serviceassets.Delete(fake.ServiceClient(), "96737ae3-cfc1-4c72-be88-5d0e7cc9a3f0", nil).ExtractErr()
th.AssertNoErr(t, err)
}