mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
fixed deploy unit tests
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user