Skip to content

Commit f389529

Browse files
author
zsbahtiar
committed
fix: job
1 parent 95924a1 commit f389529

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/api_repo_action_delete_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ import (
1111
"strconv"
1212
"testing"
1313

14-
runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
1514
actions_model "code.gitea.io/gitea/models/actions"
1615
auth_model "code.gitea.io/gitea/models/auth"
1716
"code.gitea.io/gitea/models/unittest"
1817
user_model "code.gitea.io/gitea/models/user"
1918
"code.gitea.io/gitea/modules/util"
2019
"code.gitea.io/gitea/tests"
2120

21+
runnerv1 "code.gitea.io/actions-proto-go/runner/v1"
2222
"github.com/PuerkitoBio/goquery"
2323

2424
"github.com/stretchr/testify/assert"
@@ -221,7 +221,7 @@ jobs:
221221

222222
assert.NotEmpty(t, runIDs)
223223
csrf := GetUserCSRFToken(t, session)
224-
reqDelete := NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/%s/%s/actions/runs/delete", httpContext.Username, httpContext.Reponame), map[string]interface{}{
224+
reqDelete := NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/%s/%s/actions/runs/delete", httpContext.Username, httpContext.Reponame), map[string]any{
225225
"actionIds": runIDs,
226226
"_csrf": csrf,
227227
}).AddTokenAuth(token).

0 commit comments

Comments
 (0)