command: fix failing tests

This commit is contained in:
Mitchell Hashimoto 2014-06-30 20:49:49 -07:00
parent d026d4207e
commit 2729050d19

View File

@ -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),