Shuffle around authentication methods.
I'd like to be able to explicitly authenticated with a certain version.
diff --git a/openstack/identity/v3/client_test.go b/openstack/identity/v3/client_test.go
index c9cf3c2..6747660 100644
--- a/openstack/identity/v3/client_test.go
+++ b/openstack/identity/v3/client_test.go
@@ -26,7 +26,7 @@
}
}
-func TestAuthentication(t *testing.T) {
+func TestGetToken(t *testing.T) {
testhelper.SetupHTTP()
defer testhelper.TeardownHTTP()
const ID = "aaaa1111"
@@ -43,7 +43,7 @@
}
client := NewClient(provider)
- token, err := client.Authenticate(gophercloud.AuthOptions{UserID: "me", Password: "swordfish"})
+ token, err := client.GetToken(gophercloud.AuthOptions{UserID: "me", Password: "swordfish"})
if err != nil {
t.Errorf("Unexpected error from authentication: %v", err)
}