Skip to content

Commit 83aee62

Browse files
Remove plancheck in update test
1 parent 83ebeec commit 83aee62

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

mmv1/third_party/terraform/services/compute/resource_compute_future_reservation_test.go.tmpl

+6-14
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"testing"
66

77
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
8-
"github.com/hashicorp/terraform-plugin-testing/plancheck"
98
"github.com/hashicorp/terraform-provider-google/google/envvar"
109
"github.com/hashicorp/terraform-provider-google/google/acctest"
1110
)
@@ -26,26 +25,19 @@ func TestAccComputeFutureReservation_update(t *testing.T) {
2625
Config: testAccComputeFutureReservation_full(context),
2726
},
2827
{
29-
ResourceName: "google_compute_future_reservation.gce_future_reservation",
30-
ImportState: true,
31-
ImportStateVerify: true,
28+
ResourceName: "google_compute_future_reservation.gce_future_reservation",
29+
ImportState: true,
30+
ImportStateVerify: true,
3231
ImportStateVerifyIgnore: []string{"auto_delete_auto_created_reservations"},
33-
3432
},
3533
{
3634
Config: testAccComputeFutureReservation_update(context),
37-
ConfigPlanChecks: resource.ConfigPlanChecks{
38-
PreApply: []plancheck.PlanCheck{
39-
plancheck.ExpectResourceAction("google_compute_future_reservation.gce_future_reservation", plancheck.ResourceActionUpdate),
40-
},
41-
},
4235
},
4336
{
44-
ResourceName: "google_compute_future_reservation.gce_future_reservation",
45-
ImportState: true,
46-
ImportStateVerify: true,
37+
ResourceName: "google_compute_future_reservation.gce_future_reservation",
38+
ImportState: true,
39+
ImportStateVerify: true,
4740
ImportStateVerifyIgnore: []string{"auto_delete_auto_created_reservations"},
48-
4941
},
5042
},
5143
})

0 commit comments

Comments
 (0)