Fixes to imports
diff --git a/openstack/db/v1/instances/requests_test.go b/openstack/db/v1/instances/requests_test.go
index 600bc8b..bdda1f6 100644
--- a/openstack/db/v1/instances/requests_test.go
+++ b/openstack/db/v1/instances/requests_test.go
@@ -5,6 +5,7 @@
"github.com/rackspace/gophercloud"
db "github.com/rackspace/gophercloud/openstack/db/v1/databases"
+ "github.com/rackspace/gophercloud/openstack/db/v1/users"
"github.com/rackspace/gophercloud/pagination"
th "github.com/rackspace/gophercloud/testhelper"
fake "github.com/rackspace/gophercloud/testhelper/client"
@@ -45,8 +46,8 @@
db.CreateOpts{CharSet: "utf8", Collate: "utf8_general_ci", Name: "sampledb"},
db.CreateOpts{Name: "nextround"},
},
- Users: UsersOpts{
- UserOpts{
+ Users: users.BatchCreateOpts{
+ users.CreateOpts{
Name: "demouser",
Password: "demopassword",
Databases: db.BatchCreateOpts{
@@ -138,7 +139,7 @@
HandleEnableRootUserSuccessfully(t, instanceID)
- expected := &User{Name: "root", Password: "secretsecret"}
+ expected := &users.User{Name: "root", Password: "secretsecret"}
user, err := EnableRootUser(fake.ServiceClient(), instanceID).Extract()
th.AssertNoErr(t, err)