Skip to content

Commit

Permalink
don't run project id in uni tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lantoli committed Mar 9, 2024
1 parent e78b287 commit ba2dc7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/testutil/acc/name.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ba2dc7d

Please sign in to comment.