svn commit: r1793633 - in /ofbiz/ofbiz-framework/trunk/applications: order/minilang/test/OrderTests.xml product/minilang/shipment/test/ShipmentTests.xml

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

svn commit: r1793633 - in /ofbiz/ofbiz-framework/trunk/applications: order/minilang/test/OrderTests.xml product/minilang/shipment/test/ShipmentTests.xml

Taher Alkhateeb
Author: taher
Date: Wed May  3 10:44:55 2017
New Revision: 1793633

URL: http://svn.apache.org/viewvc?rev=1793633&view=rev
Log:
Implemented: remove final remaining dependencies from framework on plugins
(OFBIZ-9322)

This commit completes the removal of final dependency on plugins. After this
commit tests can run successfully on framework stand-alone. This is achieved by
removing portions of failing tests described in more detail in below ML thread

Discussion thread: https://s.apache.org/3fiL

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/minilang/test/OrderTests.xml
    ofbiz/ofbiz-framework/trunk/applications/product/minilang/shipment/test/ShipmentTests.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/minilang/test/OrderTests.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/minilang/test/OrderTests.xml?rev=1793633&r1=1793632&r2=1793633&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/minilang/test/OrderTests.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/minilang/test/OrderTests.xml Wed May  3 10:44:55 2017
@@ -21,24 +21,6 @@ under the License.
 <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xmlns="http://ofbiz.apache.org/Simple-Method" xsi:schemaLocation="http://ofbiz.apache.org/Simple-Method http://ofbiz.apache.org/dtds/simple-methods.xsd">
 
-    <simple-method method-name="testSendOrderConfirmation" short-description="Sends order confirmation mail" login-required="false">
-        <entity-one entity-name="UserLogin" value-field="userLogin">
-            <field-map field-name="userLoginId" value="system"/>
-        </entity-one>
-        <set-current-user-login value-field="userLogin"/>
-        <set field="serviceCtx.orderId" value="TEST_DEMO10090"/>
-        <set field="serviceCtx.note" value="Test Note"/>
-        <set field="serviceCtx.comments" value="Test comments"/>
-        <set field="serviceCtx.sendTo" value="[hidden email]"/>
-        <call-service service-name="sendOrderConfirmation" in-map-name="serviceCtx">
-            <results-to-map map-name="serviceResult"/>
-        </call-service>
-        <assert>
-            <not><if-empty field="serviceResult"/></not>
-            <if-compare operator="equals" field="serviceResult.emailType" value="PRDS_ODR_CONFIRM" />
-        </assert>
-        <check-errors/>
-    </simple-method>
     <simple-method method-name="testCreateOrderDeliverySchedule" short-description="Create Order Delivery Schedule" login-required="false">
         <entity-one entity-name="UserLogin" value-field="userLogin">
             <field-map field-name="userLoginId" value="system"/>

Modified: ofbiz/ofbiz-framework/trunk/applications/product/minilang/shipment/test/ShipmentTests.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/minilang/shipment/test/ShipmentTests.xml?rev=1793633&r1=1793632&r2=1793633&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/minilang/shipment/test/ShipmentTests.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/minilang/shipment/test/ShipmentTests.xml Wed May  3 10:44:55 2017
@@ -149,15 +149,6 @@ under the License.
         <if-compare-field field="shipment.statusId" to-field="updateShipmentInMap.statusId" operator="equals"/>
         </assert>
         <check-errors/>
-
-        <set field="sendShipmentCompleteNotificationInMap.shipmentId" from-field="updateShipmentOutMap.shipmentId"/>
-        <set field="sendShipmentCompleteNotificationInMap.userLogin" from-field="userLogin"/>
-
-        <call-service service-name="sendShipmentCompleteNotification" in-map-name="sendShipmentCompleteNotificationInMap">
-            <results-to-map map-name="sendShipmentCompleteNotificationOutMap"/>
-        </call-service>
-
-        <log level="info" message="=============Shipment Notification ===========${sendShipmentCompleteNotificationOutMap}========="/>
         <log level="info" message="=============Test case completed===================================="/>
     </simple-method>