aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/api_team_user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/api_team_user_test.go')
-rw-r--r--tests/integration/api_team_user_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_team_user_test.go b/tests/integration/api_team_user_test.go
index 468697a393..aa33c69041 100644
--- a/tests/integration/api_team_user_test.go
+++ b/tests/integration/api_team_user_test.go
@@ -24,7 +24,7 @@ func TestAPITeamUser(t *testing.T) {
normalUsername := "user2"
session := loginUser(t, normalUsername)
- token := getTokenForLoggedInUser(t, session, auth_model.AccessTokenScopeReadOrg)
+ token := getTokenForLoggedInUser(t, session, auth_model.AccessTokenScopeReadOrganization)
req := NewRequest(t, "GET", "/api/v1/teams/1/members/user1?token="+token)
MakeRequest(t, req, http.StatusNotFound)