You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2018/05/20 08:56:45 UTC

[directory-studio] branch master updated: Fix text, message from LDAP API changed

This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git


The following commit(s) were added to refs/heads/master by this push:
     new ab24ac7  Fix text, message from LDAP API changed
ab24ac7 is described below

commit ab24ac78467034acde4c5ae286506a34c3491fae
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sun May 20 10:56:36 2018 +0200

    Fix text, message from LDAP API changed
---
 .../studio/test/integration/ui/CertificateValidationTest.java        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/CertificateValidationTest.java b/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/CertificateValidationTest.java
index 343ba04..9de9172 100644
--- a/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/CertificateValidationTest.java
+++ b/tests/test.integration.ui/src/main/java/org/apache/directory/studio/test/integration/ui/CertificateValidationTest.java
@@ -522,10 +522,11 @@ public class CertificateValidationTest
         assertFalse( trustDialogBot.isIssuerUnkown() );
         trustDialogBot.selectDontTrust();
         ErrorDialogBot errorBot = trustDialogBot.clickOkButtonExpectingErrorDialog();
-        // LDAP API: SSL handshake failed
+        // LDAP API: Failed to initialize the SSL context, root cause: TLS handshake failed
         // JNDI: Untrusted certificate
         assertThat( errorBot.getErrorMessage(),
-            anyOf( containsString( "SSL handshake failed" ), containsString( "Untrusted certificate" ) ) );
+            anyOf( containsString( "Failed to initialize the SSL context" ), containsString( "TLS handshake failed" ),
+                containsString( "Untrusted certificate" ) ) );
         errorBot.clickOkButton();
 
         wizardBot.clickCancelButton();

-- 
To stop receiving notification emails like this one, please contact
seelmann@apache.org.