@@ -17,7 +17,7 @@ func authTokenPost(t *testing.T, options gophercloud.AuthOptions, scope *tokens.
1717
1818 client := gophercloud.ServiceClient {
1919 ProviderClient : & gophercloud.ProviderClient {
20- TokenID : "12345abcdef" ,
20+ TokenID : options . TokenID ,
2121 },
2222 Endpoint : testhelper .Endpoint (),
2323 }
@@ -64,7 +64,7 @@ func authTokenPostErr(t *testing.T, options gophercloud.AuthOptions, scope *toke
6464}
6565
6666func TestTrustIDTokenID (t * testing.T ) {
67- options := gophercloud.AuthOptions {TokenID : "old_trustee " }
67+ options := gophercloud.AuthOptions {TokenID : "trustee_token " }
6868 var scope * tokens.Scope
6969 authTokenPost (t , options , scope , `
7070 {
@@ -74,7 +74,7 @@ func TestTrustIDTokenID(t *testing.T) {
7474 "token"
7575 ],
7676 "token": {
77- "id": "12345abcdef "
77+ "id": "trustee_token "
7878 }
7979 },
8080 "scope": {
@@ -89,7 +89,7 @@ func TestTrustIDTokenID(t *testing.T) {
8989}
9090
9191func TestFailurePassword (t * testing.T ) {
92- options := gophercloud.AuthOptions {TokenID : "fakeidnopass " }
92+ options := gophercloud.AuthOptions {TokenID : "" }
9393 //Service Client must have tokenId or password,
9494 //setting include tokenId to false
9595 //scope := &Scope{TrustID: "notenough"}
0 commit comments