Update the acceptance tests.
diff --git a/acceptance/openstack/identity/v3/token_test.go b/acceptance/openstack/identity/v3/token_test.go
index d5f9ea6..341acb7 100644
--- a/acceptance/openstack/identity/v3/token_test.go
+++ b/acceptance/openstack/identity/v3/token_test.go
@@ -34,15 +34,10 @@
service := openstack.NewIdentityV3(provider)
// Use the service to create a token.
- result, err := tokens3.Create(service, ao, nil)
+ token, err := tokens3.Create(service, ao, nil).Extract()
if err != nil {
t.Fatalf("Unable to get token: %v", err)
}
- token, err := result.TokenID()
- if err != nil {
- t.Fatalf("Unable to extract token from response: %v", err)
- }
-
- t.Logf("Acquired token: %s", token)
+ t.Logf("Acquired token: %s", token.ID)
}