We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ed830 commit 7235f0eCopy full SHA for 7235f0e
models/auth/access_token_scope_test.go
@@ -17,7 +17,7 @@ type scopeTestNormalize struct {
17
}
18
19
func TestAccessTokenScope_Normalize(t *testing.T) {
20
- assert.Equal(t, []string{"activitypub", "admin", "issue", "misc", "notification", "organization", "package", "repository", "user"}, GetAccessTokenCategories())
+ assert.Equal(t, []string{"activitypub", "admin", "issue", "misc", "notification", "organization", "package", "project", "repository", "user"}, GetAccessTokenCategories())
21
tests := []scopeTestNormalize{
22
{"", "", nil},
23
{"write:misc,write:notification,read:package,write:notification,public-only", "public-only,write:misc,write:notification,read:package", nil},
0 commit comments