You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2008/04/05 12:09:02 UTC

svn commit: r645059 - /incubator/sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html

Author: bdelacretaz
Date: Sat Apr  5 03:08:44 2008
New Revision: 645059

URL: http://svn.apache.org/viewvc?rev=645059&view=rev
Log:
SLING-355 - empty parameters are not stored anymore

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

Modified: incubator/sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html?rev=645059&r1=645058&r2=645059&view=diff
==============================================================================
--- incubator/sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html (original)
+++ incubator/sling/trunk/launchpad/content/src/main/resources/content/sling-test/sling/sling-test.html Sat Apr  5 03:08:44 2008
@@ -82,7 +82,7 @@
 	  var testPath = baseTestPath + "/test-" + now;
 	  
 	  function testPost() {
-	    var c = slingPost(testPath,"title=hello&created=&dummy=&time=" + now);
+	    var c = slingPost(testPath,"title=hello&created=&empty=&time=" + now);
 	    assert("Expected 200 status for POST",c.status == 200);
 	  }
 	  
@@ -94,8 +94,7 @@
 	    assertEquals("created property is a string","string",typeof(data.created));
         // TODO implement 'created' autoset property
 	    // assert("created property is not empty",data.created.length > 0);
-	    assertEquals("dummy property is a string","string",typeof(data.dummy));
-	    assert("dummy property is empty",data.dummy.length == 0);
+	    assertEquals("empty property is not stored","undefined",typeof(data.dummy));
 	  }
 	  
 	  function testGetSessionInfo() {