api-test: make created project and jobset visible
[?]
Oct 31, 2018, 5:44 PM
TZEDUWFXDA4O6ZVE7VC5TYSOPRVVSSSLUG3BERASO2KGHIWZZL3ACDependencies
- [2]
UOL7YDDLFix test - [3]
KYSBJAYNAllow dashes in jobset input names - [4]
SYLVCTT6Start api cleanup with the User model - [5]
LZVO64YGMerge in the first bits of the API work - [6]
YI3BZG5NCleanup Jobset serialization - [7]
7ECJWNVXCleanup Project model
Change contents
- replacement in tests/api-test.pl at line 37
$result = request_json({ uri => '/project/sample', method => 'PUT', data => { displayname => "Sample", enabled => "1", } });$result = request_json({ uri => '/project/sample', method => 'PUT', data => { displayname => "Sample", enabled => "1", visible => "1", } }); - replacement in tests/api-test.pl at line 44
$result = request_json({ uri => '/jobset/sample/default', method => 'PUT', data => { nixexprpath => "default.nix", nixexprinput => "my-src", inputs => { "my-src" => { type => "path", value => "/run/jobset" } }, enabled => "1", checkinterval => "3600"} });$result = request_json({ uri => '/jobset/sample/default', method => 'PUT', data => { nixexprpath => "default.nix", nixexprinput => "my-src", inputs => { "my-src" => { type => "path", value => "/run/jobset" } }, enabled => "1", visible => "1", checkinterval => "3600"} });