Commit 6077c796 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

communicator/winrm: fix failing test

parent 4be10b42
...@@ -87,7 +87,7 @@ func TestUpload(t *testing.T) { ...@@ -87,7 +87,7 @@ func TestUpload(t *testing.T) {
t.Fatalf("error creating communicator: %s", err) t.Fatalf("error creating communicator: %s", err)
} }
err = c.Upload("C:/Temp/terraform.cmd", bytes.NewReader([]byte("something"))) err = c.Upload("C:/Temp/terraform.cmd", bytes.NewReader([]byte("something")), nil)
if err != nil { if err != nil {
t.Fatalf("error uploading file: %s", err) t.Fatalf("error uploading file: %s", err)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment