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

Remove unused sh registerAllowedMethod

registerAllowedMethod for sh call not used anymore since we mock the ChangeManagement utils class.
The sh calls was triggered from the utils class. Since we mock that class, there is no sh call
anymore.
This commit is contained in:
Marcus Holl 2018-07-13 13:23:10 +02:00
parent a49c17c869
commit 254a4e2017
3 changed files with 0 additions and 6 deletions

View File

@ -45,8 +45,6 @@ public class TransportRequestCreateTest extends BasePiperTest {
} }
}) })
helper.registerAllowedMethod('sh', [Map], { Map m -> return 0 })
nullScript.commonPipelineEnvironment.configuration = [steps: nullScript.commonPipelineEnvironment.configuration = [steps:
[transportRequestCreate: [transportRequestCreate:
[ [

View File

@ -42,8 +42,6 @@ public class TransportRequestReleaseTest extends BasePiperTest {
} }
}) })
helper.registerAllowedMethod('sh', [Map], { Map m -> return 0 })
nullScript.commonPipelineEnvironment.configuration = [steps: nullScript.commonPipelineEnvironment.configuration = [steps:
[transportRequestRelease: [transportRequestRelease:
[ [

View File

@ -45,8 +45,6 @@ public class TransportRequestUploadFileTest extends BasePiperTest {
} }
}) })
helper.registerAllowedMethod('sh', [Map], { Map m -> return 0 })
nullScript.commonPipelineEnvironment.configuration = [steps: nullScript.commonPipelineEnvironment.configuration = [steps:
[transportRequestUploadFile: [transportRequestUploadFile:
[ [