diff --git a/communicator/winrm/communicator_test.go b/communicator/winrm/communicator_test.go index 73ac6d7b2..5c29a7403 100644 --- a/communicator/winrm/communicator_test.go +++ b/communicator/winrm/communicator_test.go @@ -87,7 +87,7 @@ func TestUpload(t *testing.T) { 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 { t.Fatalf("error uploading file: %s", err) }