Skip to content

Commit ddcd2cd

Browse files
committed
use valid password for test code
amends jenkinsci#723 that was working as the KeyStore was not validated. However jenkinsci/credentials-plugin#543 now validates the keystore and hence this test started failing as the password did not match
1 parent 89fa170 commit ddcd2cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/steps/CredentialWrapperStepTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static void setup() throws Exception {
120120
folderStore.addCredentials(Domain.global(), c);
121121

122122
File crt = new File(CredentialWrapperStepTest.class.getResource("dummy.p12").toURI());
123-
CertificateCredentialsImpl certCred = new CertificateCredentialsImpl(CredentialsScope.GLOBAL, "certCred1", "sample", "test",
123+
CertificateCredentialsImpl certCred = new CertificateCredentialsImpl(CredentialsScope.GLOBAL, "certCred1", "sample", "password",
124124
new CertificateCredentialsImpl.UploadedKeyStoreSource(new FileParameterValue.FileItemImpl(crt), null));
125125
store.addCredentials(Domain.global(), certCred);
126126
}

0 commit comments

Comments
 (0)