Author: lektran
Date: Wed Nov 18 22:57:23 2009
New Revision: 881980

URL: http://svn.apache.org/viewvc?rev=881980&view=rev
Log:
Added missing paymentMethodId to the createPaymentAndPaymentGroupForInvoicesMap 
service call
Replaced invoiceId demo10001 with 8008 since only invoices in the ready status 
can be supplied in the invoiceId list
Remove invoice 8001 from the list since the previous test sets it's status to 
cancelled
Fixes the auto-tests-createPaymentAndPaymentGroupForInvoices test

Modified:
    
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml

Modified: 
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml?rev=881980&r1=881979&r2=881980&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
 (original)
+++ 
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoPaymentTests.xml
 Wed Nov 18 22:57:23 2009
@@ -164,11 +164,11 @@
         </entity-one>
         <set 
field="createPaymentAndPaymentGroupForInvoicesMap.organizationPartyId" 
value="Company"/>
         <set 
field="createPaymentAndPaymentGroupForInvoicesMap.checkStartNumber" type="Long" 
value="100101"/>
-        <string-to-list string="demo10001" list="invoiceIds"/>
         <string-to-list string="8000" list="invoiceIds"/>
-        <string-to-list string="8001" list="invoiceIds"/>
+        <string-to-list string="8008" list="invoiceIds"/>
         <set field="createPaymentAndPaymentGroupForInvoicesMap.invoiceIds" 
from-field="invoiceIds"/>
         <set 
field="createPaymentAndPaymentGroupForInvoicesMap.paymentMethodTypeId" 
value="COMPANY_CHECK"/>
+        <set 
field="createPaymentAndPaymentGroupForInvoicesMap.paymentMethodId" 
value="SC_CHECKING"/>
         <call-service service-name="createPaymentAndPaymentGroupForInvoices" 
in-map-name="createPaymentAndPaymentGroupForInvoicesMap">
             <result-to-field result-name="paymentGroupId"/>
         </call-service>


Reply via email to