svn commit: r772496 - /ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r772496 - /ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml

lektran
Author: lektran
Date: Thu May  7 04:19:04 2009
New Revision: 772496

URL: http://svn.apache.org/viewvc?rev=772496&view=rev
Log:
Got the facility test suite running again

Modified:
    ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml?rev=772496&r1=772495&r2=772496&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/test/TestServices.xml Thu May  7 04:19:04 2009
@@ -109,7 +109,7 @@
 
     <simple-method method-name="testShipmentServices" short-description="test shipment services" login-required="false">
         <set field="createShipmentInMap.shipmentTypeId" value="SALES_SHIPMENT"/>
-        <set field="createShipmentInMap.statusId" value="SHIPMENT_PACKED"/>
+        <set field="createShipmentInMap.statusId" value="SHIPMENT_INPUT"/>
         <set field="createShipmentInMap.primaryOrderId" value="DEMO10090"/>
         <set field="createShipmentInMap.partyIdTo" value="DemoCustomer"/>
         <set field="createShipmentInMap.originFacilityId" value="WebStoreWarehouse"/>
@@ -125,6 +125,13 @@
         <log level="info" message="==========Shipment Id============${createShipmentOutMap.shipmentId}=========="/>
 
         <set field="updateShipmentInMap.shipmentId" from-field="createShipmentOutMap.shipmentId"/>
+        <set field="updateShipmentInMap.statusId" value="SHIPMENT_PACKED"/>
+        <set field="updateShipmentInMap.userLogin" from-field="userLogin"/>
+        <call-service service-name="updateShipment" in-map-name="updateShipmentInMap">
+            <results-to-map map-name="updateShipmentOutMap"/>
+        </call-service>
+
+        <set field="updateShipmentInMap.shipmentId" from-field="createShipmentOutMap.shipmentId"/>
         <set field="updateShipmentInMap.statusId" value="SHIPMENT_SHIPPED"/>
         <set field="updateShipmentInMap.userLogin" from-field="userLogin"/>
         <call-service service-name="updateShipment" in-map-name="updateShipmentInMap">