Author: mgrigorov
Date: Wed Jul 27 07:42:29 2011
New Revision: 1151371

URL: http://svn.apache.org/viewvc?rev=1151371&view=rev
Log:
WICKET-3869 ResponseIOException when ajax response contains resource reference

Update test expectations.


Modified:
    
wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/image/AjaxUpdatedImageTest.java

Modified: 
wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/image/AjaxUpdatedImageTest.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/image/AjaxUpdatedImageTest.java?rev=1151371&r1=1151370&r2=1151371&view=diff
==============================================================================
--- 
wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/image/AjaxUpdatedImageTest.java
 (original)
+++ 
wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/image/AjaxUpdatedImageTest.java
 Wed Jul 27 07:42:29 2011
@@ -38,7 +38,7 @@ public class AjaxUpdatedImageTest extend
                final String srcAttr = tagTester.getAttribute("src");
                assertFalse(
                        "Image has not be rendered in Ajax request so it has no 
wicket:antiCache' parameter",
-                       srcAttr.contains("wicket:antiCache"));
+                       srcAttr.contains("antiCache"));
 
                // make an ajax call
                tester.clickLink("link", true);
@@ -47,6 +47,6 @@ public class AjaxUpdatedImageTest extend
                final String imageAjaxComponent = tagTester.getValue();
                assertTrue(
                        "Image has not be rendered in Ajax request so it has no 
wicket:antiCache' parameter",
-                       imageAjaxComponent.contains("wicket:antiCache"));
+                       imageAjaxComponent.contains("antiCache"));
        }
 }


Reply via email to