generator-jhipster-quarkus icon indicating copy to clipboard operation
generator-jhipster-quarkus copied to clipboard

Add Enum imports in Entity Tests

Open danielpetisme opened this issue 4 years ago • 0 comments

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.

danielpetisme avatar Feb 16 '21 21:02 danielpetisme