pull/14719/merge
Andy Wilkinson 6 years ago
parent 1e0f2b652e
commit 749fa96a8b

@ -38,7 +38,7 @@ public class SslServerCustomizerTests {
ssl.setKeyPassword("password");
ssl.setKeyStore("src/test/resources/test.jks");
ssl.setKeyStoreProvider("com.example.KeyStoreProvider");
SslServerCustomizer customizer = new SslServerCustomizer(ssl, null);
SslServerCustomizer customizer = new SslServerCustomizer(ssl, null, null);
try {
customizer.getKeyManagerFactory(ssl, null);
fail();
@ -56,7 +56,7 @@ public class SslServerCustomizerTests {
ssl.setTrustStorePassword("password");
ssl.setTrustStore("src/test/resources/test.jks");
ssl.setTrustStoreProvider("com.example.TrustStoreProvider");
SslServerCustomizer customizer = new SslServerCustomizer(ssl, null);
SslServerCustomizer customizer = new SslServerCustomizer(ssl, null, null);
try {
customizer.getTrustManagerFactory(ssl, null);
fail();

Loading…
Cancel
Save