Skip to content

Commit ee5f134

Browse files
committed
skip tests that interact with API
1 parent 42a4b5f commit ee5f134

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

internal/provider/resource_tfe_team_notification_configuration_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
)
1616

1717
func TestAccTFETeamNotificationConfiguration_basic(t *testing.T) {
18+
skipUnlessBeta(t)
1819
tfeClient, err := getClientUsingEnv()
1920
if err != nil {
2021
t.Fatal(err)
@@ -53,6 +54,7 @@ func TestAccTFETeamNotificationConfiguration_basic(t *testing.T) {
5354
}
5455

5556
func TestAccTFETeamNotificationConfiguration_emailUserIDs(t *testing.T) {
57+
skipUnlessBeta(t)
5658
tfeClient, err := getClientUsingEnv()
5759
if err != nil {
5860
t.Fatal(err)
@@ -91,6 +93,7 @@ func TestAccTFETeamNotificationConfiguration_emailUserIDs(t *testing.T) {
9193
}
9294

9395
func TestAccTFETeamNotificationConfiguration_update(t *testing.T) {
96+
skipUnlessBeta(t)
9497
tfeClient, err := getClientUsingEnv()
9598
if err != nil {
9699
t.Fatal(err)
@@ -151,6 +154,7 @@ func TestAccTFETeamNotificationConfiguration_update(t *testing.T) {
151154
}
152155

153156
func TestAccTFETeamNotificationConfiguration_updateEmailUserIDs(t *testing.T) {
157+
skipUnlessBeta(t)
154158
tfeClient, err := getClientUsingEnv()
155159
if err != nil {
156160
t.Fatal(err)
@@ -562,6 +566,7 @@ func TestAccTFETeamNotificationConfiguration_updateValidateSchemaAttributesMicro
562566
}
563567

564568
func TestAccTFETeamNotificationConfiguration_duplicateTriggers(t *testing.T) {
569+
skipUnlessBeta(t)
565570
tfeClient, err := getClientUsingEnv()
566571
if err != nil {
567572
t.Fatal(err)
@@ -600,6 +605,7 @@ func TestAccTFETeamNotificationConfiguration_duplicateTriggers(t *testing.T) {
600605
}
601606

602607
func TestAccTFETeamNotificationConfigurationImport_basic(t *testing.T) {
608+
skipUnlessBeta(t)
603609
tfeClient, err := getClientUsingEnv()
604610
if err != nil {
605611
t.Fatal(err)
@@ -628,6 +634,7 @@ func TestAccTFETeamNotificationConfigurationImport_basic(t *testing.T) {
628634
}
629635

630636
func TestAccTFETeamNotificationConfigurationImport_emailUserIDs(t *testing.T) {
637+
skipUnlessBeta(t)
631638
tfeClient, err := getClientUsingEnv()
632639
if err != nil {
633640
t.Fatal(err)
@@ -656,6 +663,7 @@ func TestAccTFETeamNotificationConfigurationImport_emailUserIDs(t *testing.T) {
656663
}
657664

658665
func TestAccTFETeamNotificationConfigurationImport_emptyEmailUserIDs(t *testing.T) {
666+
skipUnlessBeta(t)
659667
tfeClient, err := getClientUsingEnv()
660668
if err != nil {
661669
t.Fatal(err)

0 commit comments

Comments
 (0)