Skip to content

Commit

Permalink
QE: correct names for paramaters in kickstart API calls
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessOne91 authored and admd committed Jul 10, 2024
1 parent a62a223 commit 4f4ea37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/features/support/namespaces/kickstart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def initialize(api_test)
# @param kshost [String] The Kickstart hostname (of a server or proxy) used to construct the default download URL.
# @return [Object] The result of the 'kickstart.profile.createProfile' API call.
def create_profile(name, kstreelabel, kshost)
@test.call('kickstart.profile.createProfile', sessionKey: @test.token, profileLabel: name, vmType: 'none', kickstartableTreeLabel: kstreelabel, kickstartHost: kshost, rootPassword: 'linux', updateType: 'all')
@test.call('kickstart.profile.createProfile', sessionKey: @test.token, profileLabel: name, virtualizationType: 'none', kickstartableTreeLabel: kstreelabel, kickstartHost: kshost, rootPassword: 'linux', updateType: 'all')
end

# Import a raw kickstart file into #product().
Expand All @@ -31,7 +31,7 @@ def create_profile(name, kstreelabel, kshost)
# @param filename [String] Contents of the kickstart file to import.
def create_profile_using_import_file(name, kstreelabel, filename)
file_content = File.read(filename)
@test.call('kickstart.importRawFile', sessionKey: @test.token, profileLabel: name, vmType: 'none', kickstartableTreeLabel: kstreelabel, kickstartFileContents: file_content)
@test.call('kickstart.importRawFile', sessionKey: @test.token, profileLabel: name, virtualizationType: 'none', kickstartableTreeLabel: kstreelabel, kickstartFileContents: file_content)
end
end

Expand Down

0 comments on commit 4f4ea37

Please sign in to comment.