From 2729050d1915e0f0754651d8ed831ccb01ecbf0e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 30 Jun 2014 20:49:49 -0700 Subject: [PATCH] command: fix failing tests --- command/apply_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/command/apply_test.go b/command/apply_test.go index 786e3c47b9..9ea9c2dcc8 100644 --- a/command/apply_test.go +++ b/command/apply_test.go @@ -98,6 +98,14 @@ func TestApply_state(t *testing.T) { statePath := testStateFile(t, originalState) p := testProvider() + p.DiffReturn = &terraform.ResourceDiff{ + Attributes: map[string]*terraform.ResourceAttrDiff{ + "ami": &terraform.ResourceAttrDiff{ + New: "bar", + }, + }, + } + ui := new(cli.MockUi) c := &ApplyCommand{ TFConfig: testTFConfig(p),