fixup: api-test.t expected to pass inputs as inputs
[?]
Apr 28, 2021, 10:30 PM
5ZAU6N4YGFE6SOEZ4HDBBBYAUBZXLUY2YFHO5XUTT5Q7F3PXKDNACDependencies
- [2]
XWEWQOHVapi-test: use is for nicer errors - [3]
UOL7YDDLFix test - [4]
KYSBJAYNAllow dashes in jobset input names - [5]
7ECJWNVXCleanup Project model - [6]
TZEDUWFXapi-test: make created project and jobset visible - [7]
GLJD3PG2api-test.t: make it work under yath - [8]
YI3BZG5NCleanup Jobset serialization - [9]
LZVO64YGMerge in the first bits of the API work
Change contents
- replacement in t/api-test.t at line 77
$result = request_json({ uri => '/jobset/sample/default', method => 'PUT', data => { nixexprpath => "default.nix", nixexprinput => "my-src", inputs => { "my-src" => { type => "path", value => $jobsetdir } }, enabled => "1", visible => "1", checkinterval => "3600"} });$result = request_json({ uri => '/jobset/sample/default', method => 'PUT', data => { nixexprpath => "default.nix", nixexprinput => "my-src", jobsetinputs => { "my-src" => { type => "path", value => $jobsetdir } }, enabled => "1", visible => "1", checkinterval => "3600"} });