You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/09/13 09:07:30 UTC

svn commit: r1170063 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/InvoicePerShipmentTests.xml

Author: hansbak
Date: Tue Sep 13 07:07:30 2011
New Revision: 1170063

URL: http://svn.apache.org/viewvc?rev=1170063&view=rev
Log:
test was creating properties file on disk instead of in memory, reported by Jacques and Adrian

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

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/InvoicePerShipmentTests.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/InvoicePerShipmentTests.xml?rev=1170063&r1=1170062&r2=1170063&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/InvoicePerShipmentTests.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/InvoicePerShipmentTests.xml Tue Sep 13 07:07:30 2011
@@ -31,7 +31,7 @@ under the License.
         <!-- Step 1 -->
         <call-bsh><![CDATA[
             import org.ofbiz.base.util.UtilProperties;
-            UtilProperties.setPropertyValue("AccountingConfig.properties", "create.invoice.per.shipment", "N");
+            UtilProperties.setPropertyValueInMemory("AccountingConfig", "create.invoice.per.shipment", "N");
         ]]></call-bsh>
         <log level="info" message="===== >>> Set Accounting.properties / create.invoice.per.shipment = N"/>
         <!-- Step 2 -->
@@ -146,6 +146,7 @@ under the License.
         <assert>
             <if-empty field="invoices"/>
         </assert>
+        
         <check-errors/>
     </simple-method>
     <simple-method method-name="testInvoicePerShipmentSetTrue" short-description="Test Invoice Per Shipment Set True" login-required="false">
@@ -158,7 +159,7 @@ under the License.
         <!-- Step 1 -->
         <call-bsh><![CDATA[
             import org.ofbiz.base.util.UtilProperties;
-            UtilProperties.setPropertyValue("AccountingConfig.properties", "create.invoice.per.shipment", "Y");
+            UtilProperties.setPropertyValueInMemory("AccountingConfig", "create.invoice.per.shipment", "Y");
         ]]></call-bsh>
         <log level="info" message="===== >>> Set Accounting.properties / create.invoice.per.shipment = Y"/>
         <!-- Step 2 -->