Skip to content

Commit

Permalink
Revert accidental changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kdumontnu committed Oct 31, 2024
1 parent ca1124d commit 68eabc1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/gitea-artifacts-meta/26/1/1712166500347189545.chunk

This file was deleted.

1 change: 0 additions & 1 deletion tests/gitea-artifacts-meta/26/19/1712348022422036662.chunk

This file was deleted.

1 change: 0 additions & 1 deletion tests/gitea-artifacts-meta/26/20/1712348022423431524.chunk

This file was deleted.

4 changes: 2 additions & 2 deletions tests/integration/api_actions_artifact_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ func TestActionsArtifactDownload(t *testing.T) {
assert.Equal(t, int64(2), listResp.Count)

// Return list might be in any order. Get one file.
artifact_idx := -1
var artifact_idx int
for i, artifact := range listResp.Value {
if artifact.Name == "artifact-download" {
artifact_idx = i
break
}
}
assert.True(t, artifact_idx >= 0)
assert.NotNil(t, artifact_idx)
assert.Equal(t, listResp.Value[artifact_idx].Name, "artifact-download")
assert.Contains(t, listResp.Value[artifact_idx].FileContainerResourceURL, "/api/actions_pipeline/_apis/pipelines/workflows/791/artifacts")

Expand Down

0 comments on commit 68eabc1

Please sign in to comment.