svn commit: r1867673 - /ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy

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

svn commit: r1867673 - /ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy

Pawan Verma-2
Author: pawan
Date: Sat Sep 28 13:43:10 2019
New Revision: 1867673

URL: http://svn.apache.org/viewvc?rev=1867673&view=rev
Log:
Fixed: Unit test case for service 'createSimpleTextContentForInvoice'
(OFBIZ-8936)

Corrected invoiceContentTypeId for the test.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy?rev=1867673&r1=1867672&r2=1867673&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/src/main/groovy/org/apache/ofbiz/accounting/AutoAcctgInvoiceTests.groovy Sat Sep 28 13:43:10 2019
@@ -73,7 +73,7 @@ class AutoAcctgInvoiceTests extends OFBi
         GenericValue invoiceContent = EntityQuery.use(delegator).from('InvoiceContent')
                 .where('invoiceId', '1009',
                 'contentId', '1001',
-                'invoiceContentTypeId', 'DOCUMENT')
+                'invoiceContentTypeId', 'COMMENTS')
                 .queryFirst()
 
         assert invoiceContent != null