diff --git a/command/apply_destroy_test.go b/command/apply_destroy_test.go
index <HASH>..<HASH> 100644
--- a/command/apply_destroy_test.go
+++ b/command/apply_destroy_test.go
@@ -195,7 +195,7 @@ func TestApply_destroyTargeted(t *testing.T) {
 				Mode: addrs.ManagedResourceMode,
 				Type: "test_instance",
 				Name: "foo",
-			}.Instance(addrs.NoKey).Absolute(addrs.RootModuleInstance),
+			}.Instance(addrs.IntKey(0)).Absolute(addrs.RootModuleInstance),
 			&states.ResourceInstanceObjectSrc{
 				AttrsJSON: []byte(`{"id":"i-ab123"}`),
 				Status:    states.ObjectReady,
@@ -212,8 +212,9 @@ func TestApply_destroyTargeted(t *testing.T) {
 				Name: "foo",
 			}.Instance(addrs.NoKey).Absolute(addrs.RootModuleInstance),
 			&states.ResourceInstanceObjectSrc{
-				AttrsJSON: []byte(`{"id":"i-abc123"}`),
-				Status:    states.ObjectReady,
+				AttrsJSON:    []byte(`{"id":"i-abc123"}`),
+				Dependencies: []addrs.AbsResource{mustResourceAddr("test_instance.foo")},
+				Status:       states.ObjectReady,
 			},
 			addrs.AbsProviderConfig{
 				Provider: addrs.NewLegacyProvider("test"),
add missing deps to targeted destroy test