mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack|identity] Update for failing mock test
This commit is contained in:
parent
8f12717d25
commit
a8f2aaf004
1 changed files with 2 additions and 1 deletions
|
@ -20,10 +20,11 @@ Shindo.tests('Fog::Identity[:openstack] | tenant requests', ['openstack']) do
|
|||
|
||||
tests('#list_roles_for_user_on_tenant(0,1)').
|
||||
formats({'roles' => [@role_format]}) do
|
||||
user = Fog::Identity[:openstack].create_user("testuser", "passw", "e@mail.co", "us3r1d").body['user']
|
||||
|
||||
openstack = Fog::Identity[:openstack]
|
||||
openstack.list_roles_for_user_on_tenant(
|
||||
openstack.current_tenant['id'], openstack.current_user['id']).body
|
||||
openstack.current_tenant['id'], user['id']).body
|
||||
end
|
||||
|
||||
tests('#create_tenant').formats({'tenant' => @tenant_format}) do
|
||||
|
|
Loading…
Add table
Reference in a new issue