mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-20 05:19:40 +02:00
Remove stdout from unit test (#787)
in the majority of the cases there is nobody for reading stdout.
This commit is contained in:
parent
0c90da6638
commit
77a8c54084
@ -150,7 +150,6 @@ class PiperPipelineStageInitTest extends BasePiperTest {
|
|||||||
|
|
||||||
scmInfoTestList.each {scmInfoTest ->
|
scmInfoTestList.each {scmInfoTest ->
|
||||||
jsr.step.piperPipelineStageInit.setScmInfoOnCommonPipelineEnvironment(nullScript, scmInfoTest)
|
jsr.step.piperPipelineStageInit.setScmInfoOnCommonPipelineEnvironment(nullScript, scmInfoTest)
|
||||||
println(scmInfoTest.GIT_URL)
|
|
||||||
assertThat(nullScript.commonPipelineEnvironment.getGitSshUrl(), is(scmInfoTest.expectedSsh))
|
assertThat(nullScript.commonPipelineEnvironment.getGitSshUrl(), is(scmInfoTest.expectedSsh))
|
||||||
assertThat(nullScript.commonPipelineEnvironment.getGitHttpsUrl(), is(scmInfoTest.expectedHttp))
|
assertThat(nullScript.commonPipelineEnvironment.getGitHttpsUrl(), is(scmInfoTest.expectedHttp))
|
||||||
assertThat(nullScript.commonPipelineEnvironment.getGithubOrg(), is(scmInfoTest.expectedOrg))
|
assertThat(nullScript.commonPipelineEnvironment.getGithubOrg(), is(scmInfoTest.expectedOrg))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user