incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r891570 - /sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/CreateNodeTest.java
Date Thu, 17 Dec 2009 07:18:24 GMT
Author: bdelacretaz
Date: Thu Dec 17 07:18:23 2009
New Revision: 891570

URL: http://svn.apache.org/viewvc?rev=891570&view=rev
Log:
SLING-1231 - default GET servlet now returns 404/NOT FOUND if no renderer is defined for the
request extension

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

Modified: sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/CreateNodeTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/CreateNodeTest.java?rev=891570&r1=891569&r2=891570&view=diff
==============================================================================
--- sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/CreateNodeTest.java
(original)
+++ sling/trunk/launchpad/testing/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/CreateNodeTest.java
Thu Dec 17 07:18:23 2009
@@ -58,8 +58,8 @@
         getContent(urlOfNewNode + ".xml", CONTENT_TYPE_XML);
 
         // And extensions for which we have no renderer fail
-        assertHttpStatus(urlOfNewNode + ".pdf", 403);
-        assertHttpStatus(urlOfNewNode + ".someWeirdExtension", 403);
+        assertHttpStatus(urlOfNewNode + ".pdf", 404);
+        assertHttpStatus(urlOfNewNode + ".someWeirdExtension", 404);
     }
 
     public void testCreateNodeMultipart() throws IOException {



Mime
View raw message