Skip to content

Commit

Permalink
chore(tests): improve test efficiency, no need to run testAccPreCheck…
Browse files Browse the repository at this point in the history
…() here
  • Loading branch information
sanderblue committed May 28, 2024
1 parent f32aa6e commit 095679c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions newrelic/resource_newrelic_alert_policy_channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func TestAccNewRelicAlertPolicyChannel_Basic(t *testing.T) {
rName := acctest.RandString(5)

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckNewRelicAlertPolicyChannelDestroy,
Steps: []resource.TestStep{
Expand Down Expand Up @@ -51,7 +50,6 @@ func TestAccNewRelicAlertPolicyChannel_ChannelOrder(t *testing.T) {
rName := acctest.RandString(5)

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckNewRelicAlertPolicyChannelDestroy,
Steps: []resource.TestStep{
Expand All @@ -71,7 +69,6 @@ func TestAccNewRelicAlertPolicyChannel_MutipleChannels(t *testing.T) {
rName := acctest.RandString(5)

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckNewRelicAlertPolicyChannelDestroy,
Steps: []resource.TestStep{
Expand Down Expand Up @@ -103,7 +100,6 @@ func TestAccNewRelicAlertPolicyChannel_AlertPolicyNotFound(t *testing.T) {
rName := fmt.Sprintf("tf-test-%s", acctest.RandString(5))

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckNewRelicAlertPolicyChannelDestroy,
Steps: []resource.TestStep{
Expand All @@ -125,7 +121,6 @@ func TestAccNewRelicAlertPolicyChannel_AlertChannelNotFound(t *testing.T) {
rName := fmt.Sprintf("tf-test-%s", acctest.RandString(5))

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckNewRelicAlertPolicyChannelDestroy,
Steps: []resource.TestStep{
Expand Down

0 comments on commit 095679c

Please sign in to comment.