generator-jhipster-quarkus
generator-jhipster-quarkus copied to clipboard
Add Enum imports in Entity Tests
Describe the bug When an entity use an Enumeration type, the generated test does not import properly the enum class nor items
To Reproduce
- Download the JDL file https://github.com/jhipster/jdl-samples/blob/main/online-shop.jh
- Run
jhipster-quarkus import-jdl online-shop.jh
- Once generated run
./mvnw test
Expected behavior The test compilation should work.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
N/A
Additional context Add any other context about the problem here.