Add repo scope in TestGPGKeys

This commit is contained in:
harryzcy 2022-10-30 01:32:34 -04:00
parent a282f02de6
commit 0bee969682
No known key found for this signature in database
GPG key ID: CC2953E050C19686

View file

@ -22,7 +22,7 @@ func TestGPGKeys(t *testing.T) {
defer tests.PrepareTestEnv(t)()
session := loginUser(t, "user2")
token := getTokenForLoggedInUser(t, session)
tokenWithGPGKeyScope := getTokenForLoggedInUser(t, session, "admin_gpg_key")
tokenWithGPGKeyScope := getTokenForLoggedInUser(t, session, "admin_gpg_key", "repo")
tt := []struct {
name string