Author: mor
Date: Tue Dec 29 13:32:03 2009
New Revision: 894382
URL:
http://svn.apache.org/viewvc?rev=894382&view=revLog:
Additional check for updateFixedAssetRegistration test.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/FixedAssetTests.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/FixedAssetTests.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/FixedAssetTests.xml?rev=894382&r1=894381&r2=894382&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/FixedAssetTests.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/FixedAssetTests.xml Tue Dec 29 13:32:03 2009
@@ -61,6 +61,7 @@
<entity-one entity-name="FixedAssetRegistration" value-field="fixedAssetRegistration"/>
<assert>
+ <not><if-empty field="fixedAssetRegistration"/></not>
<if-compare-field field="fixedAssetRegistration.thruDate" operator="equals" to-field="thruDate"/>
<if-compare-field field="fixedAssetRegistration.registrationDate" operator="equals" to-field="registrationDate"/>
</assert>