Author: psharples
Date: Tue Mar 13 13:55:07 2012
New Revision: 1300133

URL: http://svn.apache.org/viewvc?rev=1300133&view=rev
Log:
Added admin credentials for deletion of widget instance (tearDown fails 
otherwise)

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

Modified: 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/PropertiesControllerTest.java
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/PropertiesControllerTest.java?rev=1300133&r1=1300132&r2=1300133&view=diff
==============================================================================
--- 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/PropertiesControllerTest.java
 (original)
+++ 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/PropertiesControllerTest.java
 Tue Mar 13 13:55:07 2012
@@ -54,6 +54,7 @@ public class PropertiesControllerTest ex
   public static void tearDown() throws HttpException, IOException{
     HttpClient client = new HttpClient();
     DeleteMethod delete;
+    setAuthenticationCredentials(client);     
     delete = new DeleteMethod(TEST_INSTANCES_SERVICE_URL_VALID);
     delete.setQueryString("api_key=" + API_KEY_VALID + "&widgetid="
         + WIDGET_ID_VALID + "&userid=test&shareddatakey=propstest");


Reply via email to