Skip to content

Commit d968257

Browse files
committed
tokens2.Create needs to wrap its AuthOptions now.
1 parent 53a2367 commit d968257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

acceptance/openstack/identity/v2/token_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestAuthenticate(t *testing.T) {
1414
service := unauthenticatedClient(t)
1515

1616
// Authenticated!
17-
result := tokens2.Create(service, ao)
17+
result := tokens2.Create(service, tokens2.WrapOptions(ao))
1818

1919
// Extract and print the token.
2020
token, err := result.ExtractToken()

0 commit comments

Comments
 (0)