aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/pull_status_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/pull_status_test.go')
-rw-r--r--tests/integration/pull_status_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/integration/pull_status_test.go b/tests/integration/pull_status_test.go
index bca8ec848b..e60d17edc0 100644
--- a/tests/integration/pull_status_test.go
+++ b/tests/integration/pull_status_test.go
@@ -11,6 +11,7 @@ import (
"strings"
"testing"
+ auth_model "code.gitea.io/gitea/models/auth"
api "code.gitea.io/gitea/modules/structs"
"github.com/stretchr/testify/assert"
@@ -63,7 +64,7 @@ func TestPullCreate_CommitStatus(t *testing.T) {
api.CommitStatusWarning: "gitea-exclamation",
}
- testCtx := NewAPITestContext(t, "user1", "repo1")
+ testCtx := NewAPITestContext(t, "user1", "repo1", auth_model.AccessTokenScopeRepo)
// Update commit status, and check if icon is updated as well
for _, status := range statusList {