From 182b98478572d2c10af664b2308bdb4099d680a4 Mon Sep 17 00:00:00 2001 From: harryzcy Date: Sun, 30 Oct 2022 02:12:46 -0400 Subject: [PATCH] Fix repo scope in TestGPGKeys again --- tests/integration/api_gpg_keys_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api_gpg_keys_test.go b/tests/integration/api_gpg_keys_test.go index 98060699f1..46a7e8d702 100644 --- a/tests/integration/api_gpg_keys_test.go +++ b/tests/integration/api_gpg_keys_test.go @@ -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 {