Author: scottbw
Date: Sat Feb 12 19:30:45 2011
New Revision: 1070136

URL: http://svn.apache.org/viewvc?rev=1070136&view=rev
Log:
Updated test as the  widget title element may have style attributes which can 
give a false negative.

Modified:
    
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetInstancesControllerTest.java

Modified: 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetInstancesControllerTest.java
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetInstancesControllerTest.java?rev=1070136&r1=1070135&r2=1070136&view=diff
==============================================================================
--- 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetInstancesControllerTest.java
 (original)
+++ 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetInstancesControllerTest.java
 Sat Feb 12 19:30:45 2011
@@ -167,7 +167,7 @@ public class WidgetInstancesControllerTe
                client.executeMethod(post);
                int code = post.getStatusCode();
                assertEquals(404,code); // but must return the "default widget"
-               
assertTrue(post.getResponseBodyAsString().contains("<title>Unsupported widget 
widget</title>"));
+               assertTrue(post.getResponseBodyAsString().contains("Unsupported 
widget widget"));
                post.releaseConnection();
            }
            catch (Exception e) {


Reply via email to