You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by as...@apache.org on 2013/01/31 17:37:09 UTC

svn commit: r1441050 - in /syncope/trunk/core/src: main/resources/restContext.xml test/java/org/apache/syncope/core/rest/jaxrs/TaskTestITCaseJAXRS.java

Author: ashakirin
Date: Thu Jan 31 16:37:09 2013
New Revision: 1441050

URL: http://svn.apache.org/viewvc?rev=1441050&view=rev
Log:
[SYNCOPE-231] Enabled JAXRS TaskTestITCase

Modified:
    syncope/trunk/core/src/main/resources/restContext.xml
    syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/jaxrs/TaskTestITCaseJAXRS.java

Modified: syncope/trunk/core/src/main/resources/restContext.xml
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/resources/restContext.xml?rev=1441050&r1=1441049&r2=1441050&view=diff
==============================================================================
--- syncope/trunk/core/src/main/resources/restContext.xml (original)
+++ syncope/trunk/core/src/main/resources/restContext.xml Thu Jan 31 16:37:09 2013
@@ -76,6 +76,7 @@ under the License.
       <ref bean="resourceServiceImpl"/>
       <ref bean="roleServiceImpl"/>
       <ref bean="schemaServiceImpl"/>
+      <ref bean="taskServiceImpl"/>
       <ref bean="userRequestServiceImpl"/>
       <ref bean="userServiceImpl"/>
       <ref bean="workflowServiceImpl"/>

Modified: syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/jaxrs/TaskTestITCaseJAXRS.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/jaxrs/TaskTestITCaseJAXRS.java?rev=1441050&r1=1441049&r2=1441050&view=diff
==============================================================================
--- syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/jaxrs/TaskTestITCaseJAXRS.java (original)
+++ syncope/trunk/core/src/test/java/org/apache/syncope/core/rest/jaxrs/TaskTestITCaseJAXRS.java Thu Jan 31 16:37:09 2013
@@ -28,5 +28,7 @@ public class TaskTestITCaseJAXRS extends
     public TaskTestITCaseJAXRS() {
         super();
         setEnabledCXF(true);
+        // JSON is currently not working (fix after CXF migration is complete)
+        setContentType(CONTENT_TYPE_XML);
     }
 }