This content has been marked as final.
Show 2 replies
-
1. Re: Unable to run default unit tests
idyoshin Mar 2, 2010 12:12 AM (in response to elfuhrer)as I can remember the problem was with environment, as I can remember the default persistence.xml profile for unittests is production, and if you changed something in the development - that wouldn't be available at tests. look at the build.xml and change it to deploying your current
working
profile, or simply move your configuration across of profiles.Regards,
Ilya Dyoshin
-
2. Re: Unable to run default unit tests
elfuhrer Mar 2, 2010 9:49 AM (in response to elfuhrer)That didn't work out at all, the reference to entityManager is not bound however the reference to the DefaultDS exists. I have tried to update the test configuration to match Dan's proposal but still I got the exception others have gone through.