BAEL-6014: Remove newline

This commit is contained in:
Constantin 2023-11-20 20:12:51 +02:00
parent ec1fde9dc1
commit ee57392b4f
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ public class KeystoreCertificateNameAliasUnitTest {
assertThat(keystore.containsAlias(KEYSTORE_ALIAS)).isTrue();
X509Certificate x509Certificate = (X509Certificate) keystore.getCertificate(KEYSTORE_ALIAS);
String owner = x509Certificate.getSubjectX500Principal()
.getName();
String owner = x509Certificate.getSubjectX500Principal().getName();
assertThat(owner.contains("commonName1")).isFalse();
}