Fix test after merge

This commit is contained in:
Mislav Marohnić 2021-04-02 21:04:31 +02:00
parent 9c4afca003
commit 8552cacf79

View file

@ -392,6 +392,9 @@ func TestViewRun(t *testing.T) {
reg.Register(
httpmock.REST("GET", "repos/OWNER/REPO/actions/runs/3"),
httpmock.JSONResponse(shared.SuccessfulRun))
reg.Register(
httpmock.REST("GET", "repos/OWNER/REPO/actions/runs/3/artifacts"),
httpmock.StringResponse(`{}`))
reg.Register(
httpmock.REST("GET", "runs/3/jobs"),
httpmock.JSONResponse(shared.JobsPayload{