diff --git a/terraform/graph_builder_apply_test.go b/terraform/graph_builder_apply_test.go index 8e04587c1..ede05e5de 100644 --- a/terraform/graph_builder_apply_test.go +++ b/terraform/graph_builder_apply_test.go @@ -659,9 +659,7 @@ func TestApplyGraphBuilder_updateFromCBDOrphan(t *testing.T) { AttrsJSON: []byte(`{"id":"a_id"}`), CreateBeforeDestroy: true, }, - addrs.LocalProviderConfig{ - LocalName: "test", - }.Absolute(addrs.RootModuleInstance), + mustProviderConfig(`provider["registry.terraform.io/-/test"]`), ) root.SetResourceInstanceCurrent( addrs.Resource{ @@ -683,9 +681,7 @@ func TestApplyGraphBuilder_updateFromCBDOrphan(t *testing.T) { }, }, }, - addrs.LocalProviderConfig{ - LocalName: "test", - }.Absolute(addrs.RootModuleInstance), + mustProviderConfig(`provider["registry.terraform.io/-/test"]`), ) b := &ApplyGraphBuilder{