0

I'm developing a test for an application with many models some of them with relationships. Every time I try to run the test, it says "Failed to load ApplicationContext" error.

I have a method that clean all the tables before the test

SomethingRepository.deleteAll();

When I delete the tables manually on the DB, the test runs without problems. How can I configure or solve this problem?

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
rvicente
  • 15
  • 4

0 Answers0