File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -216,12 +216,25 @@ test.each([
216216 name : "Release " + tag ,
217217 body : "something changed" ,
218218 prerelease : tag === '2.3.7-rc.1' ,
219+ draft : true ,
219220 } )
220221 . reply ( { status : 201 , data : {
221222 id : 123 ,
222223 upload_url : 'http://uploads.github.com/repos/scality/Zenko/releases/456/assets{?name,label}' ,
223224 html_url : 'http://github.com/repos/scality/Zenko/releases/456' ,
224225 } } ) ,
226+ moctokit . rest . repos
227+ . updateRelease ( {
228+ owner : "scality" ,
229+ repo : "Zenko" ,
230+ draft : false ,
231+ release_id : 123 ,
232+ } )
233+ . reply ( { status : 200 , data : {
234+ id : 123 ,
235+ upload_url : 'http://uploads.github.com/repos/scality/Zenko/releases/456/assets{?name,label}' ,
236+ html_url : 'http://github.com/repos/scality/Zenko/releases/456' ,
237+ } } ) ,
225238 ] ,
226239 mockSteps : {
227240 'verify-release' : [ {
You can’t perform that action at this time.
0 commit comments