Author: bdelacretaz
Date: Wed Jul 19 12:38:17 2017
New Revision: 1802381

URL: http://svn.apache.org/viewvc?rev=1802381&view=rev
Log:
Fix failing test, with Oak we don't have workspace info anymore

Modified:
    
sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html

Modified: 
sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html
URL: 
http://svn.apache.org/viewvc/sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html?rev=1802381&r1=1802380&r2=1802381&view=diff
==============================================================================
--- 
sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html
 (original)
+++ 
sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html
 Wed Jul 19 12:38:17 2017
@@ -1,4 +1,4 @@
-<html>
+       <html>
 
 <!--
           Licensed to the Apache Software Foundation (ASF) under one or more
@@ -108,8 +108,9 @@ should show the JSON data of the nodes c
            assertNotNull("testGetSessionInfo: Sling.getSessionInfo()", 
session);
            assertEquals("testGetSessionInfo: session.userID is a 
string","string",typeof(session.userID));
         assertEquals("testGetSessionInfo: session.userID == 
'admin'","admin",session.userID);
-           assertEquals("testGetSessionInfo: session.workspace is a 
string","string",typeof(session.workspace));
-           assert("testGetSessionInfo: session.workspace contains 
'default'",session.workspace.indexOf('default') >= 0);
+               
+               // since using Oak this is undefined
+           assertEquals("testGetSessionInfo: session.workspace is 
undefined","undefined",typeof(session.workspace));
          }
          
          function testRemoveContent() {


Reply via email to