Skip to content

Commit

Permalink
fix importStateCheck to read from import workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
megan07 authored and paddycarver committed Aug 26, 2020
1 parent 6c974a4 commit 3134731
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper/resource/testing_new_import_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ func testStepNewImportState(t testing.T, c TestCase, helper *tftest.Helper, wd *

var importState *terraform.State
err = runProviderCommand(t, func() error {
importState = getState(t, wd)
importState = getState(t, importWd)
return nil
}, wd, c.ProviderFactories)
}, importWd, c.ProviderFactories)
if err != nil {
t.Fatalf("Error getting state: %s", err)
}
Expand Down

0 comments on commit 3134731

Please sign in to comment.