You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dk...@apache.org on 2011/10/13 15:57:04 UTC

svn commit: r1182859 - /camel/branches/camel-2.7.x/tests/camel-itest/src/test/java/org/apache/camel/itest/security/GreeterClientTest.java

Author: dkulp
Date: Thu Oct 13 13:57:04 2011
New Revision: 1182859

URL: http://svn.apache.org/viewvc?rev=1182859&view=rev
Log:
Message won't have a security reason in it

Modified:
    camel/branches/camel-2.7.x/tests/camel-itest/src/test/java/org/apache/camel/itest/security/GreeterClientTest.java

Modified: camel/branches/camel-2.7.x/tests/camel-itest/src/test/java/org/apache/camel/itest/security/GreeterClientTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.7.x/tests/camel-itest/src/test/java/org/apache/camel/itest/security/GreeterClientTest.java?rev=1182859&r1=1182858&r2=1182859&view=diff
==============================================================================
--- camel/branches/camel-2.7.x/tests/camel-itest/src/test/java/org/apache/camel/itest/security/GreeterClientTest.java (original)
+++ camel/branches/camel-2.7.x/tests/camel-itest/src/test/java/org/apache/camel/itest/security/GreeterClientTest.java Thu Oct 13 13:57:04 2011
@@ -91,8 +91,7 @@ public class GreeterClientTest extends A
             fail("should fail");
         } catch (Exception ex) {
             assertTrue("Get a wrong type exception.", ex instanceof SOAPFaultException);
-            assertTrue("Get a wrong exception message", ex.getMessage().startsWith("The security token could not be authenticated or authorized;"));
-            assertTrue("Get a wrong exception message", ex.getMessage().endsWith("java.io.IOException: Wrong password!"));
+            assertTrue("Get a wrong exception message: " + ex.getMessage(), ex.getMessage().startsWith("The security token could not be authenticated or authorized"));
         }
 
     }