Update the acceptance tests to match.
diff --git a/acceptance/openstack/compute/v2/servers_test.go b/acceptance/openstack/compute/v2/servers_test.go
index 620ef1b..fc8ceae 100644
--- a/acceptance/openstack/compute/v2/servers_test.go
+++ b/acceptance/openstack/compute/v2/servers_test.go
@@ -46,10 +46,10 @@
name := tools.RandomString("ACPTTEST", 16)
t.Logf("Attempting to create server: %s\n", name)
- server, err := servers.Create(client, map[string]interface{}{
- "flavorRef": choices.FlavorID,
- "imageRef": choices.ImageID,
- "name": name,
+ server, err := servers.Create(client, &servers.CreateOpts{
+ Name: name,
+ FlavorRef: choices.FlavorID,
+ ImageRef: choices.ImageID,
}).Extract()
if err != nil {
t.Fatalf("Unable to create server: %v", err)