From dbfc1b5aff11dc4c001164276a713981bb75c49b Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Thu, 6 Dec 2018 09:36:16 -0800 Subject: [PATCH] fix tests --- builder/vmware/iso/builder_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/builder/vmware/iso/builder_test.go b/builder/vmware/iso/builder_test.go index 1607f1cbb..195f8e381 100644 --- a/builder/vmware/iso/builder_test.go +++ b/builder/vmware/iso/builder_test.go @@ -171,6 +171,7 @@ func TestBuilderPrepare_RemoteType(t *testing.T) { // Good config["remote_type"] = "" + config["format"] = "" config["remote_host"] = "" config["remote_password"] = "" config["remote_private_key_file"] = "" @@ -245,6 +246,11 @@ func TestBuilderPrepare_Format(t *testing.T) { for _, format := range goodFormats { // Good config["format"] = format + config["remote_type"] = "esx5" + config["remote_host"] = "hosty.hostface" + config["remote_password"] = "password" + config["skip_validate_credentials"] = true + b = Builder{} warns, err = b.Prepare(config) if len(warns) > 0 {