-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1540 from hashicorp/jfreda/add-team-notification-…
…cfg-resource Add tfe_team_notification_configuration resource
- Loading branch information
Showing
9 changed files
with
2,147 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,17 @@ func createBusinessOrganization(t *testing.T, client *tfe.Client) (*tfe.Organiza | |
return org, orgCleanup | ||
} | ||
|
||
func createPlusOrganization(t *testing.T, client *tfe.Client) (*tfe.Organization, func()) { | ||
org, orgCleanup := createOrganization(t, client, tfe.OrganizationCreateOptions{ | ||
Name: tfe.String("tst-" + randomString(t)), | ||
Email: tfe.String(fmt.Sprintf("%[email protected]", randomString(t))), | ||
}) | ||
|
||
newSubscriptionUpdater(org).WithPlusEntitlementPlan().Update(t) | ||
|
||
return org, orgCleanup | ||
} | ||
|
||
func createTrialOrganization(t *testing.T, client *tfe.Client) (*tfe.Organization, func()) { | ||
org, orgCleanup := createOrganization(t, client, tfe.OrganizationCreateOptions{ | ||
Name: tfe.String("tst-" + randomString(t)), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.