1
0
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:
Marcus Holl 2019-01-31 12:38:46 +01:00
parent 5302d1d7b1
commit 3ea0cb6208

View File

@ -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() {