mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
Remove duplicate test
the other test doing the same is testReleaseTransportRequestFailsSOLMAN
This commit is contained in:
parent
5302d1d7b1
commit
3ea0cb6208
@ -189,23 +189,6 @@ public void testGetCommandLineWithCMClientOpts() {
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCreateTransportRequestFails() {
|
||||
|
||||
script.setReturnValue(JenkinsShellCallRule.Type.REGEX, '.*upload-file-to-transport.*', 1)
|
||||
|
||||
thrown.expect(ChangeManagementException)
|
||||
thrown.expectMessage('Cannot upload file into transport request. Return code from cm client: 1.')
|
||||
|
||||
new ChangeManagement(nullScript).uploadFileToTransportRequestSOLMAN(
|
||||
'001',
|
||||
'002',
|
||||
'XXX',
|
||||
'/path',
|
||||
'https://example.org/cm',
|
||||
'me')
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testUploadFileToTransportSucceedsSOLMAN() {
|
||||
|
||||
@ -397,7 +380,6 @@ public void testGetCommandLineWithCMClientOpts() {
|
||||
'openSesame')
|
||||
}
|
||||
|
||||
|
||||
private GitUtils gitUtilsMock(boolean insideWorkTree, String[] changeIds) {
|
||||
return new GitUtils() {
|
||||
public boolean insideWorkTree() {
|
||||
|
Loading…
Reference in New Issue
Block a user