Revision e9c175b8
Added by Guido Günther about 8 years ago
test/functional/api/v2/images_controller_test.rb | ||
---|---|---|
|
||
class Api::V2::ImagesControllerTest < ActionController::TestCase
|
||
def valid_attrs
|
||
{ :name => 'TestImage', :username => 'ec2-user', :uuid => 'abcdef',
|
||
{ :name => 'TestImage', :username => 'ec2-user', :uuid => 'abcdef', :password => "password",
|
||
:operatingsystem_id => Operatingsystem.first.id,
|
||
:compute_resource_id => ComputeResource.first.id,
|
||
:architecture_id => Architecture.first.id,
|
Also available in: Unified diff
Fixes #14701: Mention image password in API docs and tests
Setting the image password is well supported but not documented.