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:
parent
a49c17c869
commit
254a4e2017
@ -45,8 +45,6 @@ public class TransportRequestCreateTest extends BasePiperTest {
|
||||
}
|
||||
})
|
||||
|
||||
helper.registerAllowedMethod('sh', [Map], { Map m -> return 0 })
|
||||
|
||||
nullScript.commonPipelineEnvironment.configuration = [steps:
|
||||
[transportRequestCreate:
|
||||
[
|
||||
|
@ -42,8 +42,6 @@ public class TransportRequestReleaseTest extends BasePiperTest {
|
||||
}
|
||||
})
|
||||
|
||||
helper.registerAllowedMethod('sh', [Map], { Map m -> return 0 })
|
||||
|
||||
nullScript.commonPipelineEnvironment.configuration = [steps:
|
||||
[transportRequestRelease:
|
||||
[
|
||||
|
@ -45,8 +45,6 @@ public class TransportRequestUploadFileTest extends BasePiperTest {
|
||||
}
|
||||
})
|
||||
|
||||
helper.registerAllowedMethod('sh', [Map], { Map m -> return 0 })
|
||||
|
||||
nullScript.commonPipelineEnvironment.configuration = [steps:
|
||||
[transportRequestUploadFile:
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user