mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Update mocks to simulate real results.
This commit is contained in:
parent
5fdaa092c6
commit
3f2aba443f
1 changed files with 4 additions and 2 deletions
|
@ -19,10 +19,12 @@ module Fog
|
|||
response.body = { 'changePassword' => { 'adminPass' => admin_password }}
|
||||
end
|
||||
response.status = 202
|
||||
response
|
||||
else
|
||||
raise Fog::Compute::HP::NotFound
|
||||
#raise Fog::Compute::HP::NotFound
|
||||
response.status = 500
|
||||
raise(Excon::Errors.status_error({:expects => 200}, response))
|
||||
end
|
||||
response
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue