Hans,
did you run "ant run-install" before "ant run-tests"?
I suspect that you are getting this error because in your db the order
DEMO10091 is not found.
Jacopo
On Dec 13, 2011, at 4:56 PM, Hans Bakker wrote:
> Hi Jacopo,
>
> this is what is reported:
>
> Error Message
>
> ERROR: Could not complete the Test case for Purchase Invoices: editing,
> adding taxes and shipping charges and posting to GL
> [file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice
> ] process [problem invoking the [setInvoiceStatus] service with the map named
> [serviceCtx] containing
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13
> 00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13
> 00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
> 00:11:52.971(java.sql.Timestamp)][lastU
> pdatedTxStamp,2011-12-13
> 00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
> statusId=INVOICE_READY, locale=en_US}]: The following required parameter is
> missing: [IN] [setInvoiceStatus.invoiceId]]
>
> Stacktrace
>
> junit.framework.AssertionFailedError: ERROR: Could not complete the Test case
> for Purchase Invoices: editing, adding taxes and shipping charges and posting
> to GL
> [file:/data/jenkins/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml#testAcctgTransOnEditPoInvoice
> ] process [problem invoking the [setInvoiceStatus] service with the map named
> [serviceCtx] containing
> [{userLogin=[GenericEntity:UserLogin][createdStamp,2011-12-13
> 00:10:24.573(java.sql.Timestamp)][createdTxStamp,2011-12-13
> 00:10:24.348(java.sql.Timestamp)][currentPassword,null()][disabledDateTime,null()][enabled,N(java.lang.String)][externalAuthId,null()][hasLoggedOut,null()][isSystem,Y(java.lang.String)][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2011-12-13
> 0
> 0:11:52.971(java.sql.Timestamp)][lastUpdatedTxStamp,2011-12-13
> 00:11:52.86(java.sql.Timestamp)][partyId,system(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,system(java.lang.String)],
> statusId=INVOICE_READY, locale=en_US}]: The following required parameter is
> missing: [IN] [setInvoiceStatus.invoiceId]]
> at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:93)
> at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
> at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
> at org.ofbiz.base.start.Start.start(Start.java:289)
> at org.ofbiz.base.start.Start.main(Start.java:119)
>
>
> Regards,
> Hans
>
>
> On 12/13/2011 10:52 PM, Jacopo Cappellato wrote:
>> Hans,
>>
>> could you please be more specific on the errors/failures you are getting?
>> It seems I was able to run successfully all the tests.
>>
>> Jacopo
>>
>> On Dec 13, 2011, at 3:41 PM, Hans Bakker wrote:
>>
>>
>>> Yes a good idea:
>>>
>>>
>>> https://issues.apache.org/jira/browse/OFBIZ-4624
>>>
>>>
>>> Regards,
>>> Hans
>>>
>>>
>>> On 12/13/2011 09:21 PM, Erwan de FERRIERES wrote:
>>>
>>>> Hans,
>>>>
>>>> could you create an associated Jira issue, so this won't be forgotten ?
>>>>
>>>> Thanks,
>>>>
>>>> 2011/12/13
>>>> <[email protected]>
>>>> :
>>>>
>>>>> Author: hansbak
>>>>> Date: Tue Dec 13 11:04:57 2011
>>>>> New Revision: 1213650
>>>>>
>>>>> URL:
>>>>> http://svn.apache.org/viewvc?rev=1213650&view=rev
>>>>>
>>>>> Log:
>>>>> commented out accounting auto tests which did not work for a long time
>>>>>
>>>>> Modified:
>>>>> ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
>>>>>
>>>>> Modified: ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/testdef/accountingtests.xml?rev=1213650&r1=1213649&r2=1213650&view=diff
>>>>>
>>>>> ==============================================================================
>>>>> --- ofbiz/trunk/applications/accounting/testdef/accountingtests.xml
>>>>> (original)
>>>>> +++ ofbiz/trunk/applications/accounting/testdef/accountingtests.xml Tue
>>>>> Dec 13 11:04:57 2011
>>>>> @@ -29,7 +29,8 @@
>>>>>
>>>>> <test-case case-name="accounting-tests"><junit-test-suite
>>>>> class-name="org.ofbiz.accounting.test.FinAccountTests"/></test-case>
>>>>>
>>>>> -<test-case case-name="auto-accounting-transaction-tests">
>>>>> +<!-- commented out for now...test data seems to be missing and i
>>>>> wondered if theyu ever worked, went back to rev: 903431 and ever there
>>>>> the same problem -->
>>>>> +<!-- test-case case-name="auto-accounting-transaction-tests">
>>>>> <simple-method-test
>>>>> location="component://accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml"/>
>>>>> -</test-case>
>>>>> +</test-case-->
>>>>> </test-suite>
>>>>>
>>>>>
>>>>>
>>>>
>