core: Fix test build for ./plans/planfile

This was missed in the splitting of "Replace" into "DeleteThenCreate" and
"CreateThenDelete".
This commit is contained in:
Martin Atkins 2018-09-28 15:21:39 -07:00
parent 3919a9644c
commit 896b6bc897
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ func TestTFPlanRoundTrip(t *testing.T) {
Type: "test",
}.Absolute(addrs.RootModuleInstance),
ChangeSrc: plans.ChangeSrc{
Action: plans.Replace,
Action: plans.DeleteThenCreate,
Before: mustNewDynamicValue(cty.ObjectVal(map[string]cty.Value{
"id": cty.StringVal("foo-bar-baz"),
}), objTy),