From ba2dc7d95f024b46d2681998e94fd560357374d3 Mon Sep 17 00:00:00 2001 From: Leo Antoli <430982+lantoli@users.noreply.github.com> Date: Sat, 9 Mar 2024 09:34:45 +0100 Subject: [PATCH] don't run project id in uni tests --- internal/testutil/acc/name.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/testutil/acc/name.go b/internal/testutil/acc/name.go index 095f2dd601..6c8dba9f16 100644 --- a/internal/testutil/acc/name.go +++ b/internal/testutil/acc/name.go @@ -48,6 +48,7 @@ func ProjectIDGlobal(tb testing.TB) string { func projectID(tb testing.TB, name string) string { tb.Helper() + SkipInUnitTest(tb) resp, _, _ := ConnV2().ProjectsApi.GetProjectByName(context.Background(), name).Execute() id := resp.GetId() require.NotEmpty(tb, id)