Skip to content

Commit a433612

Browse files
committed
change resource.Test to acctest.VcrTest
1 parent 3d0d95a commit a433612

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func TestAccComputeInstantSnapshot_basicFeatures(t *testing.T) {
2323
"random_suffix": acctest.RandString(t, 10),
2424
}
2525

26-
resource.Test(t, resource.TestCase{
26+
acctest.VcrTest(t, resource.TestCase{
2727
PreCheck: func() { acctest.AccTestPreCheck(t) },
2828
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
2929
CheckDestroy: testAccCheckComputeInstantSnapshotDestroyProducer(t),
@@ -56,7 +56,7 @@ func TestAccComputeInstantSnapshot_labelsUpdate(t *testing.T) {
5656
"label_value": "test-2",
5757
}
5858

59-
resource.Test(t, resource.TestCase{
59+
acctest.VcrTest(t, resource.TestCase{
6060
PreCheck: func() { acctest.AccTestPreCheck(t) },
6161
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
6262
CheckDestroy: testAccCheckComputeInstantSnapshotDestroyProducer(t),

0 commit comments

Comments
 (0)