communicator/winrm: fix failing test
This commit is contained in:
parent
4be10b428a
commit
6077c796f5
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue