Skip to content

Commit e934038

Browse files
drewmullensebasslash
authored andcommitted
rm org create bypass
1 parent e31d2db commit e934038

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

internal/provider/helper_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ func upgradeOrganizationSubscription(t *testing.T, _ *tfe.Client, organization *
5656
}
5757

5858
func createBusinessOrganization(t *testing.T, client *tfe.Client) (*tfe.Organization, func()) {
59-
if os.Getenv("PREEXISTING_TFE_ORGANIZATION") != "" {
60-
org := tfe.Organization{
61-
Name: os.Getenv("PREEXISTING_TFE_ORGANIZATION"),
62-
}
63-
64-
return &org, func() {}
65-
}
66-
6759
org, orgCleanup := createOrganization(t, client, tfe.OrganizationCreateOptions{
6860
Name: tfe.String("tst-" + randomString(t)),
6961
Email: tfe.String(fmt.Sprintf("%[email protected]", randomString(t))),

0 commit comments

Comments
 (0)