Jacopo Cappellato wrote:
Hi Chris,
On Jan 22, 2010, at 1:29 PM, Chris Snow wrote:
Hi Scott,
It's not a problem with the test framework, it is with my custom demo data.
In my demo data, I was creating workEfforts with id's of 10020 and 10030.
During testing I was creating more workEfforts. At one stage, the tests were
failing because the new workEfforts were getting already used workEffortId's.
I need to change my test data to use lower workEffortId's or change the
sequence to start at a higher value. Which would be the preferred ofbiz
approach?
In ofbiz we follow the former approach: in demo/test data we use ids < 10000
Kind regards,
Jacopo
Many thanks Jacopo!