Skip to content

Commit 4c6b224

Browse files
iQQBotroboquat
authored andcommitted
[integration-test] add user scope
1 parent 35c1016 commit 4c6b224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pkg/integration/apis.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ func (c *ComponentAPI) CreateUser(username string, token string) (string, error)
497497
Scopes []string `json:"scopes"`
498498
}{
499499
Value: token,
500-
Scopes: []string{},
500+
Scopes: []string{"user:email", "read:user", "public_repo"},
501501
}
502502
valueBytes, err := json.Marshal(value)
503503
if err != nil {

0 commit comments

Comments
 (0)