blob: ff2073bd861c5040c9537e91a3e2baf5616eec9b [file] [log] [blame]
jrperritt3d966162016-06-06 14:08:54 -05001package testing
2
3import (
4 "testing"
5
6 "github.com/gophercloud/gophercloud/openstack/cdn/v1/serviceassets"
7 th "github.com/gophercloud/gophercloud/testhelper"
8 fake "github.com/gophercloud/gophercloud/testhelper/client"
9)
10
11func TestDelete(t *testing.T) {
12 th.SetupHTTP()
13 defer th.TeardownHTTP()
14
15 HandleDeleteCDNAssetSuccessfully(t)
16
17 err := serviceassets.Delete(fake.ServiceClient(), "96737ae3-cfc1-4c72-be88-5d0e7cc9a3f0", nil).ExtractErr()
18 th.AssertNoErr(t, err)
19}