From 51a04071017bf314635f42fd7f0b20bb84b2ee82 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sun, 7 Sep 2014 23:28:49 -0700 Subject: [PATCH] fixed deploy unit tests --- plugin/deploy/bash_test.go | 2 +- plugin/deploy/cloudfoundry_test.go | 2 +- plugin/deploy/ssh_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/deploy/bash_test.go b/plugin/deploy/bash_test.go index 8af86661..ba502701 100644 --- a/plugin/deploy/bash_test.go +++ b/plugin/deploy/bash_test.go @@ -44,7 +44,7 @@ func setUpWithBash(input string) (string, error) { return "", err } bf := buildfile.New() - buildStruct.Deploy.Write(bf) + buildStruct.Deploy.Write(bf, nil) return bf.String(), err } diff --git a/plugin/deploy/cloudfoundry_test.go b/plugin/deploy/cloudfoundry_test.go index 91891f86..f8ba3988 100644 --- a/plugin/deploy/cloudfoundry_test.go +++ b/plugin/deploy/cloudfoundry_test.go @@ -57,7 +57,7 @@ func setUpWithCF(input string) (string, error) { return "", err } bf := buildfile.New() - buildStruct.Deploy.Write(bf) + buildStruct.Deploy.Write(bf, nil) return bf.String(), err } diff --git a/plugin/deploy/ssh_test.go b/plugin/deploy/ssh_test.go index 46ee3956..581f15cc 100644 --- a/plugin/deploy/ssh_test.go +++ b/plugin/deploy/ssh_test.go @@ -56,7 +56,7 @@ func setUp(input string) (string, error) { return "", err } bf := buildfile.New() - buildStruct.Deploy.Write(bf) + buildStruct.Deploy.Write(bf, nil) return bf.String(), err }