Hi Frederico,
When you say it stopped working, what is your test result? Is there any exception? Are your entities inside the same project, or do you have separate
EJB project and persistence unit project?
I struggled a lot to setup tests with a multi-module
maven project and Glassfish embedded, and I used the tips from there:
webpage
Bottom line: with GF 3.0.1 embedded, if you have a separate module for the persistence unit,
you should copy its content (entities and META-INF/persistence.xml) into the EJB module build directory for the persistence unit to be deployed.
Hope it'll help.
Christian