Add repo scope in TestGPGKeys
This commit is contained in:
parent
a282f02de6
commit
0bee969682
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ func TestGPGKeys(t *testing.T) {
|
||||||
defer tests.PrepareTestEnv(t)()
|
defer tests.PrepareTestEnv(t)()
|
||||||
session := loginUser(t, "user2")
|
session := loginUser(t, "user2")
|
||||||
token := getTokenForLoggedInUser(t, session)
|
token := getTokenForLoggedInUser(t, session)
|
||||||
tokenWithGPGKeyScope := getTokenForLoggedInUser(t, session, "admin_gpg_key")
|
tokenWithGPGKeyScope := getTokenForLoggedInUser(t, session, "admin_gpg_key", "repo")
|
||||||
|
|
||||||
tt := []struct {
|
tt := []struct {
|
||||||
name string
|
name string
|
||||||
|
|
Loading…
Add table
Reference in a new issue