This is interesting Erwan! Could you please debug a bit more that method and find out where exactly is the problem? My guess is that the issue is in getInvoiceCurrencyConversionRate
Jacopo On Feb 17, 2010, at 12:31 PM, Erwan de FERRIERES wrote: > >> ../.. > Errors are still present on my machine. So, when looking deeper, it looks > like the InvoiceWorker.getInvoiceTotal method doesn't use any locale. When > returning a result via the run-tests commande, its decimals are removed, so > the results is always xxx.00, and then the test is in error. > > I've changed my machine's locale to en_US, and the results are fine. When > going back to fr_FR, then all the testInvoiceWorkerGetInvoiceTotal is in > error. > > -- > Erwan de FERRIERES > www.nereide.biz
