Skip to content

Commit e258b36

Browse files
committed
Test fix
1 parent 7c07a3e commit e258b36

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

as2-lib/src/test/java/com/helger/as2lib/crypto/BCCryptoHelperTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ public void testCreateKeyStores () throws GeneralSecurityException
9494
// Ensure each keystore type can be created
9595
final BCCryptoHelper x = new BCCryptoHelper ();
9696
for (final EKeyStoreType e : EKeyStoreType.values ())
97-
{
98-
assertNotNull (x.createNewKeyStore (e));
99-
}
97+
if (e.isKeyStorePathRequired ())
98+
{
99+
assertNotNull (x.createNewKeyStore (e));
100+
}
100101
}
101102

102103
@Test

0 commit comments

Comments
 (0)