incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r805200 - /sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonQueryServletTest.java
Date Mon, 17 Aug 2009 22:54:49 GMT
Author: clombart
Date: Mon Aug 17 22:54:48 2009
New Revision: 805200

URL: http://svn.apache.org/viewvc?rev=805200&view=rev
Log:
SLING-1088 : small change in the unit test (of course date are timezone dependant :-) )

Modified:
    sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonQueryServletTest.java

Modified: sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonQueryServletTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonQueryServletTest.java?rev=805200&r1=805199&r2=805200&view=diff
==============================================================================
--- sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonQueryServletTest.java
(original)
+++ sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/JsonQueryServletTest.java
Mon Aug 17 22:54:48 2009
@@ -144,7 +144,7 @@
         json = getContent(url, CONTENT_TYPE_JSON, params);
         assertJavascript("1.0", json, counterCode);
         assertJavascript("ok", json, "if(data[0].date) out.print('ok')");
-        assertJavascript("Sun Apr 13 2008 17:55:00 GMT+0200", json, "out.print(data[0].date)");
+        assertJavascript("Sun", json, "out.print(data[0].date.substring(0,3))");
         
         
     }



Mime
View raw message