Skip to content

Commit e70fa5f

Browse files
authored
Merge pull request #1215 from hashicorp/lilincmu/update-feature-set-name
Update feature set name Plus (entitlement) to Standard (entitlement)
2 parents d484ca0 + fc40489 commit e70fa5f

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

notification_configuration_integration_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func TestNotificationConfigurationList_forTeams(t *testing.T) {
8282
orgTest, orgTestCleanup := createOrganization(t, client)
8383
t.Cleanup(orgTestCleanup)
8484

85-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
85+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
8686

8787
tmTest, tmTestCleanup := createTeam(t, client, orgTest)
8888
t.Cleanup(tmTestCleanup)
@@ -314,7 +314,7 @@ func TestNotificationConfigurationCreate_forTeams(t *testing.T) {
314314
orgTest, orgTestCleanup := createOrganization(t, client)
315315
t.Cleanup(orgTestCleanup)
316316

317-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
317+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
318318

319319
tmTest, tmTestCleanup := createTeam(t, client, orgTest)
320320
t.Cleanup(tmTestCleanup)
@@ -488,7 +488,7 @@ func TestNotificationConfigurationRead_forTeams(t *testing.T) {
488488
orgTest, orgTestCleanup := createOrganization(t, client)
489489
t.Cleanup(orgTestCleanup)
490490

491-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
491+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
492492

493493
tmTest, tmTestCleanup := createTeam(t, client, orgTest)
494494
t.Cleanup(tmTestCleanup)
@@ -521,7 +521,7 @@ func TestNotificationConfigurationUpdate_forTeams(t *testing.T) {
521521
orgTest, orgTestCleanup := createOrganization(t, client)
522522
t.Cleanup(orgTestCleanup)
523523

524-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
524+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
525525

526526
tmTest, tmTestCleanup := createTeam(t, client, orgTest)
527527
t.Cleanup(tmTestCleanup)
@@ -756,7 +756,7 @@ func TestNotificationConfigurationDelete_forTeams(t *testing.T) {
756756
orgTest, orgTestCleanup := createOrganization(t, client)
757757
t.Cleanup(orgTestCleanup)
758758

759-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
759+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
760760

761761
tmTest, tmTestCleanup := createTeam(t, client, orgTest)
762762
t.Cleanup(tmTestCleanup)
@@ -813,7 +813,7 @@ func TestNotificationConfigurationVerify_forTeams(t *testing.T) {
813813
orgTest, orgTestCleanup := createOrganization(t, client)
814814
t.Cleanup(orgTestCleanup)
815815

816-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
816+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
817817

818818
tmTest, tmTestCleanup := createTeam(t, client, orgTest)
819819
t.Cleanup(tmTestCleanup)

organization_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ func TestOrganizationsReadEntitlements(t *testing.T) {
474474
orgTest, orgTestCleanup := createOrganization(t, client)
475475
t.Cleanup(orgTestCleanup)
476476

477-
newSubscriptionUpdater(orgTest).WithPlusEntitlementPlan().Update(t)
477+
newSubscriptionUpdater(orgTest).WithStandardEntitlementPlan().Update(t)
478478

479479
t.Run("when the org exists", func(t *testing.T) {
480480
entitlements, err := client.Organizations.ReadEntitlements(ctx, orgTest.Name)

subscription_updater_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ func (b *organizationSubscriptionUpdater) WithTrialPlan() *organizationSubscript
7272
return b
7373
}
7474

75-
func (b *organizationSubscriptionUpdater) WithPlusEntitlementPlan() *organizationSubscriptionUpdater {
76-
b.planName = "Plus (entitlement)"
75+
func (b *organizationSubscriptionUpdater) WithStandardEntitlementPlan() *organizationSubscriptionUpdater {
76+
b.planName = "Standard (entitlement)"
7777

7878
start := time.Now()
7979
ceiling := 1

0 commit comments

Comments
 (0)