mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-04 18:21:06 +02:00
fixed deploy unit tests
This commit is contained in:
parent
a9f2affd5c
commit
51a0407101
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user