Updating acceptance tests :ok_hand:
diff --git a/acceptance/rackspace/blockstorage/v1/snapshot_test.go b/acceptance/rackspace/blockstorage/v1/snapshot_test.go
index be1314b..25b2cfe 100644
--- a/acceptance/rackspace/blockstorage/v1/snapshot_test.go
+++ b/acceptance/rackspace/blockstorage/v1/snapshot_test.go
@@ -76,7 +76,7 @@
}
func testSnapshotDelete(t *testing.T, client *gophercloud.ServiceClient, id string) {
- err := snapshots.Delete(client, id)
- th.AssertNoErr(t, err)
+ res := snapshots.Delete(client, id)
+ th.AssertNoErr(t, res.Err)
t.Logf("Deleted snapshot %s", id)
}
diff --git a/acceptance/rackspace/blockstorage/v1/volume_test.go b/acceptance/rackspace/blockstorage/v1/volume_test.go
index 5a52ac7..f86f9ad 100644
--- a/acceptance/rackspace/blockstorage/v1/volume_test.go
+++ b/acceptance/rackspace/blockstorage/v1/volume_test.go
@@ -65,7 +65,7 @@
}
func testVolumeDelete(t *testing.T, client *gophercloud.ServiceClient, id string) {
- err := volumes.Delete(client, id)
- th.AssertNoErr(t, err)
+ res := volumes.Delete(client, id)
+ th.AssertNoErr(t, res.Err)
t.Logf("Deleted volume %s", id)
}