fix type in state mv test

This commit is contained in:
James Bardin 2019-12-06 10:52:02 -05:00
parent e3416124cc
commit 96d1e57191
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ func TestStateMv_instanceToNewResource(t *testing.T) {
AttrsJSON: []byte(`{"id":"bar","foo":"value","bar":"value"}`),
Status: states.ObjectReady,
},
addrs.ProviderConfig{Type: "test"}.Absolute(addrs.RootModuleInstance),
addrs.ProviderConfig{Type: addrs.NewLegacyProvider("test")}.Absolute(addrs.RootModuleInstance),
)
})
statePath := testStateFile(t, state)