Fix repo scope in TestGPGKeys again
This commit is contained in:
parent
0bee969682
commit
182b984785
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ type makeRequestFunc func(testing.TB, *http.Request, int) *httptest.ResponseReco
|
|||
func TestGPGKeys(t *testing.T) {
|
||||
defer tests.PrepareTestEnv(t)()
|
||||
session := loginUser(t, "user2")
|
||||
token := getTokenForLoggedInUser(t, session)
|
||||
token := getTokenForLoggedInUser(t, session, "repo")
|
||||
tokenWithGPGKeyScope := getTokenForLoggedInUser(t, session, "admin_gpg_key", "repo")
|
||||
|
||||
tt := []struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue