summaryrefslogtreecommitdiffstats
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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/pull_status_test.go b/tests/integration/pull_status_test.go
index 736d1ee4f0..0bdb80ecbf 100644
--- a/tests/integration/pull_status_test.go
+++ b/tests/integration/pull_status_test.go
@@ -64,7 +64,7 @@ func TestPullCreate_CommitStatus(t *testing.T) {
api.CommitStatusWarning: "gitea-exclamation",
}
- testCtx := NewAPITestContext(t, "user1", "repo1", auth_model.AccessTokenScopeRepo)
+ testCtx := NewAPITestContext(t, "user1", "repo1", auth_model.AccessTokenScopeWriteRepository)
// Update commit status, and check if icon is updated as well
for _, status := range statusList {