Skip to content

Commit c224fc9

Browse files
committed
refactor: include the read project scope
1 parent dc41382 commit c224fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/api_project_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func TestAPIListOrgProjects(t *testing.T) {
105105
defer tests.PrepareTestEnv(t)()
106106

107107
orgName := "org17"
108-
token := getUserToken(t, "user2", auth_model.AccessTokenScopeReadOrganization, auth_model.AccessTokenScopeReadIssue)
108+
token := getUserToken(t, "user2", auth_model.AccessTokenScopeReadOrganization, auth_model.AccessTokenScopeReadIssue, auth_model.AccessTokenScopeReadProject)
109109
link, _ := url.Parse(fmt.Sprintf("/api/v1/orgs/%s/projects", orgName))
110110

111111
req := NewRequest(t, "GET", link.String()).AddTokenAuth(token)

0 commit comments

Comments
 (0)