BAEL-6014: Remove newline
This commit is contained in:
parent
ec1fde9dc1
commit
ee57392b4f
|
@ -36,8 +36,7 @@ public class KeystoreCertificateNameAliasUnitTest {
|
||||||
assertThat(keystore.containsAlias(KEYSTORE_ALIAS)).isTrue();
|
assertThat(keystore.containsAlias(KEYSTORE_ALIAS)).isTrue();
|
||||||
|
|
||||||
X509Certificate x509Certificate = (X509Certificate) keystore.getCertificate(KEYSTORE_ALIAS);
|
X509Certificate x509Certificate = (X509Certificate) keystore.getCertificate(KEYSTORE_ALIAS);
|
||||||
String owner = x509Certificate.getSubjectX500Principal()
|
String owner = x509Certificate.getSubjectX500Principal().getName();
|
||||||
.getName();
|
|
||||||
assertThat(owner.contains("commonName1")).isFalse();
|
assertThat(owner.contains("commonName1")).isFalse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue