diff options
Diffstat (limited to 'jrt/tests')
-rw-r--r-- | jrt/tests/com/yahoo/jrt/EchoTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jrt/tests/com/yahoo/jrt/EchoTest.java b/jrt/tests/com/yahoo/jrt/EchoTest.java index 7213068c0f9..e6243eaf4da 100644 --- a/jrt/tests/com/yahoo/jrt/EchoTest.java +++ b/jrt/tests/com/yahoo/jrt/EchoTest.java @@ -64,7 +64,7 @@ public class EchoTest { assertEquals(1, metrics.clientTlsConnectionsEstablished()); }, (ConnectionAuthContextAssertion) context -> { - List<X509Certificate> chain = context.peerCertificate(); + List<X509Certificate> chain = context.peerCertificateChain(); assertEquals(1, chain.size()); assertEquals(CryptoUtils.certificate, chain.get(0)); }}, @@ -82,7 +82,7 @@ public class EchoTest { assertEquals(1, metrics.clientTlsConnectionsEstablished()); }, (ConnectionAuthContextAssertion) context -> { - List<X509Certificate> chain = context.peerCertificate(); + List<X509Certificate> chain = context.peerCertificateChain(); assertEquals(1, chain.size()); assertEquals(CryptoUtils.certificate, chain.get(0)); }}}; |