From 96d1e57191689c1c7dfddda4e158583e3c05b978 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Fri, 6 Dec 2019 10:52:02 -0500 Subject: [PATCH] fix type in state mv test --- command/state_mv_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/state_mv_test.go b/command/state_mv_test.go index 406afa412c..25addaefd5 100644 --- a/command/state_mv_test.go +++ b/command/state_mv_test.go @@ -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)