You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
fix unit test 3
This commit is contained in:
@@ -213,6 +213,13 @@ go 1.17`
|
||||
ArtifactVersion: "1.0.0",
|
||||
}
|
||||
|
||||
fileExists = func(s string) (bool, error) {
|
||||
if s == "go.mod" {
|
||||
return false, nil
|
||||
}
|
||||
return true, nil
|
||||
}
|
||||
|
||||
utils := newGolangBuildTestsUtils()
|
||||
utils.returnFileUploadStatus = 201
|
||||
utils.FilesMock.AddFile("go.mod", []byte(modTestFile))
|
||||
|
Reference in New Issue
Block a user