Fix powershell provisioner tests

This commit is contained in:
Matt Dainty 2018-11-09 14:26:21 +00:00
parent 3b519acebc
commit 412119c27e

View File

@ -148,8 +148,8 @@ func TestProvisionerPrepare_Elevated(t *testing.T) {
config["elevated_user"] = "vagrant"
err := p.Prepare(config)
if err == nil {
t.Fatal("should have error (only provided elevated_user)")
if err != nil {
t.Fatal("should not have error")
}
config["elevated_password"] = "vagrant"