incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1528449 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingSessionInfoTest.java
Date Wed, 02 Oct 2013 12:44:21 GMT
Author: bdelacretaz
Date: Wed Oct  2 12:44:21 2013
New Revision: 1528449

URL: http://svn.apache.org/r1528449
Log:
SLING-2788 - SlingSessionInfoTest was too brittle

Modified:
    sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingSessionInfoTest.java

Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingSessionInfoTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingSessionInfoTest.java?rev=1528449&r1=1528448&r2=1528449&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingSessionInfoTest.java
(original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingSessionInfoTest.java
Wed Oct  2 12:44:21 2013
@@ -32,7 +32,7 @@ public class SlingSessionInfoTest extend
         // assume workspace name contains "default", might not
         // always be the case as the default workspace is selected
         // by the JCR implementation due to SLING-256
-        assertJavascript("admin.true", content, "out.println(data.userID + '.' + (data.workspace.indexOf('default')
>= 0) )");
+        assertJavascript("admin.string.string", content, "out.println(data.userID + '.' +
typeof data.workspace + '.' + typeof data.authType)");
     }
 
     public void testNonexistentSlingUrl() throws IOException {



Mime
View raw message