Fix client fixtures
Some of the client fixtures used for testing were invalid. v2 tokens must have 'access'/'token'/'expires', and v3 tokens must have 'token'/'expires_at'. Change-Id: I2614c7deed47c9758c2031418110108308634296 Related-Bug: #1174499
This commit is contained in:
parent
570a9dc22d
commit
f2adf271e7
|
@ -330,6 +330,7 @@ class Examples(fixtures.Fixture):
|
|||
'access': {
|
||||
'token': {
|
||||
'id': self.SIGNED_TOKEN_SCOPED_KEY,
|
||||
'expires': '2020-01-01T00:00:10.000123Z',
|
||||
},
|
||||
'user': {
|
||||
'id': 'user_id1',
|
||||
|
@ -347,6 +348,7 @@ class Examples(fixtures.Fixture):
|
|||
'access': {
|
||||
'token': {
|
||||
'id': self.SIGNED_TOKEN_UNSCOPED_KEY,
|
||||
'expires': '2020-01-01T00:00:10.000123Z',
|
||||
},
|
||||
'user': {
|
||||
'id': 'user_id1',
|
||||
|
@ -360,7 +362,7 @@ class Examples(fixtures.Fixture):
|
|||
},
|
||||
self.SIGNED_v3_TOKEN_SCOPED_KEY: {
|
||||
'token': {
|
||||
'expires': '2020-01-01T00:00:10.000123Z',
|
||||
'expires_at': '2020-01-01T00:00:10.000123Z',
|
||||
'methods': ['password'],
|
||||
'user': {
|
||||
'id': 'user_id1',
|
||||
|
|
Loading…
Reference in New Issue