diff --git a/command/command_test.go b/command/command_test.go index 5679fb5db..7c87f9d6a 100644 --- a/command/command_test.go +++ b/command/command_test.go @@ -265,7 +265,6 @@ func testState() *states.State { AttrsJSON: []byte("{\n \"id\": \"bar\"\n }"), Status: states.ObjectReady, Dependencies: []addrs.ConfigResource{}, - DependsOn: []addrs.Referenceable{}, }, addrs.AbsProviderConfig{ Provider: addrs.NewDefaultProvider("test"), diff --git a/command/refresh_test.go b/command/refresh_test.go index 4e5e2ae7d..3dc721c0d 100644 --- a/command/refresh_test.go +++ b/command/refresh_test.go @@ -278,7 +278,6 @@ func TestRefresh_defaultState(t *testing.T) { Status: states.ObjectReady, AttrsJSON: []byte("{\n \"ami\": null,\n \"id\": \"yes\"\n }"), Dependencies: []addrs.ConfigResource{}, - DependsOn: []addrs.Referenceable{}, } if !reflect.DeepEqual(actual, expected) { t.Fatalf("wrong new object\ngot: %swant: %s", spew.Sdump(actual), spew.Sdump(expected)) @@ -343,7 +342,6 @@ func TestRefresh_outPath(t *testing.T) { Status: states.ObjectReady, AttrsJSON: []byte("{\n \"ami\": null,\n \"id\": \"yes\"\n }"), Dependencies: []addrs.ConfigResource{}, - DependsOn: []addrs.Referenceable{}, } if !reflect.DeepEqual(actual, expected) { t.Fatalf("wrong new object\ngot: %swant: %s", spew.Sdump(actual), spew.Sdump(expected)) @@ -573,7 +571,6 @@ func TestRefresh_backup(t *testing.T) { Status: states.ObjectReady, AttrsJSON: []byte("{\n \"ami\": null,\n \"id\": \"changed\"\n }"), Dependencies: []addrs.ConfigResource{}, - DependsOn: []addrs.Referenceable{}, } if !reflect.DeepEqual(actual, expected) { t.Fatalf("wrong new object\ngot: %swant: %s", spew.Sdump(actual), spew.Sdump(expected)) @@ -640,7 +637,6 @@ func TestRefresh_disableBackup(t *testing.T) { Status: states.ObjectReady, AttrsJSON: []byte("{\n \"ami\": null,\n \"id\": \"yes\"\n }"), Dependencies: []addrs.ConfigResource{}, - DependsOn: []addrs.Referenceable{}, } if !reflect.DeepEqual(actual, expected) { t.Fatalf("wrong new object\ngot: %swant: %s", spew.Sdump(actual), spew.Sdump(expected)) diff --git a/command/show_test.go b/command/show_test.go index de3a7a6a7..bc2f36bfa 100644 --- a/command/show_test.go +++ b/command/show_test.go @@ -83,7 +83,6 @@ func TestShow_aliasedProvider(t *testing.T) { AttrsJSON: []byte("{\n \"id\": \"bar\"\n }"), Status: states.ObjectReady, Dependencies: []addrs.ConfigResource{}, - DependsOn: []addrs.Referenceable{}, }, addrs.RootModuleInstance.ProviderConfigAliased(addrs.NewDefaultProvider("test"), "alias"), )