summaryrefslogtreecommitdiffstats
path: root/tests/integration/org_count_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/org_count_test.go')
-rw-r--r--tests/integration/org_count_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/org_count_test.go b/tests/integration/org_count_test.go
index 8f850a170f..e46b83169b 100644
--- a/tests/integration/org_count_test.go
+++ b/tests/integration/org_count_test.go
@@ -25,7 +25,7 @@ func testOrgCounts(t *testing.T, u *url.URL) {
orgOwner := "user2"
orgName := "testOrg"
orgCollaborator := "user4"
- ctx := NewAPITestContext(t, orgOwner, "repo1", auth_model.AccessTokenScopeAdminOrg)
+ ctx := NewAPITestContext(t, orgOwner, "repo1", auth_model.AccessTokenScopeWriteOrganization)
var ownerCountRepos map[string]int
var collabCountRepos map[string]int