mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Add skip test if missing vars helper
This commit is contained in:
parent
34114286ff
commit
b191faf8a4
@ -10,6 +10,7 @@ import (
|
||||
|
||||
func Test_cloud_organization_env_var(t *testing.T) {
|
||||
t.Parallel()
|
||||
skipIfMissingEnvVar(t)
|
||||
|
||||
ctx := context.Background()
|
||||
org, cleanup := createOrganization(t)
|
||||
@ -54,6 +55,7 @@ func Test_cloud_organization_env_var(t *testing.T) {
|
||||
|
||||
func Test_cloud_workspace_name_env_var(t *testing.T) {
|
||||
t.Parallel()
|
||||
skipIfMissingEnvVar(t)
|
||||
|
||||
org, orgCleanup := createOrganization(t)
|
||||
t.Cleanup(orgCleanup)
|
||||
@ -126,6 +128,7 @@ func Test_cloud_workspace_name_env_var(t *testing.T) {
|
||||
|
||||
func Test_cloud_workspace_tags_env_var(t *testing.T) {
|
||||
t.Parallel()
|
||||
skipIfMissingEnvVar(t)
|
||||
|
||||
org, orgCleanup := createOrganization(t)
|
||||
t.Cleanup(orgCleanup)
|
||||
@ -206,6 +209,7 @@ func Test_cloud_workspace_tags_env_var(t *testing.T) {
|
||||
|
||||
func Test_cloud_null_config(t *testing.T) {
|
||||
t.Parallel()
|
||||
skipIfMissingEnvVar(t)
|
||||
|
||||
org, cleanup := createOrganization(t)
|
||||
t.Cleanup(cleanup)
|
||||
|
Loading…
Reference in New Issue
Block a user