Skip to content

Commit 44a8746

Browse files
committed
remove unnecessary comments in TestAPIActionsGetWorkflowJobLogs
1 parent ea7add2 commit 44a8746

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/integration/api_actions_run_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,10 @@ func TestAPIActionsGetWorkflowJobLogs(t *testing.T) {
272272
session := loginUser(t, user.Name)
273273
token := getTokenForLoggedInUser(t, session, auth_model.AccessTokenScopeWriteRepository)
274274

275-
// Test get job logs
276275
req := NewRequest(t, "GET", fmt.Sprintf("/api/v1/repos/%s/actions/runs/795/jobs/198/logs", repo.FullName())).
277276
AddTokenAuth(token)
278277
MakeRequest(t, req, http.StatusOK)
279278

280-
// Test get non-existent job logs
281279
req = NewRequest(t, "GET", fmt.Sprintf("/api/v1/repos/%s/actions/runs/795/jobs/999999/logs", repo.FullName())).
282280
AddTokenAuth(token)
283281
MakeRequest(t, req, http.StatusNotFound)

0 commit comments

Comments
 (0)