From 0bee9696828645e29e982764b6e6a674f3710cfa Mon Sep 17 00:00:00 2001 From: harryzcy Date: Sun, 30 Oct 2022 01:32:34 -0400 Subject: [PATCH] Add repo scope in TestGPGKeys --- 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 1e2aa03d4e..98060699f1 100644 --- a/tests/integration/api_gpg_keys_test.go +++ b/tests/integration/api_gpg_keys_test.go @@ -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