1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

Merge pull request #301 from marcusholl/pr/noStashUnstashOutputWrittenByTests

Remove output to stdout from tests
This commit is contained in:
Marcus Holl 2018-09-21 11:18:39 +02:00 committed by GitHub
commit 154750d98d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,8 +30,8 @@ class BasePiperTestContext {
Utils mockUtils() {
def mockUtils = new Utils()
mockUtils.steps = [
stash : { m -> println "stash name = ${m.name}" },
unstash: { println "unstash called ..." }
stash : { },
unstash: { }
]
LibraryLoadingTestExecutionListener.prepareObjectInterceptors(mockUtils)
return mockUtils