Skip to content

Commit 3aded74

Browse files
paddycarverPaddy
authored andcommitted
Shouldn't need to call destroy explicitly.
The saved plan should be enough.
1 parent 4f77c70 commit 3aded74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

helper/resource/testing_new_config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ func testStepNewConfig(t testing.T, c TestCase, wd *tftest.WorkingDir, step Test
7373

7474
// Apply the diff, creating real resources
7575
err = runProviderCommand(t, func() error {
76-
if step.Destroy {
77-
return wd.Destroy()
78-
}
7976
return wd.Apply()
8077
}, wd, c.ProviderFactories)
8178
if err != nil {

0 commit comments

Comments
 (0)