So this issue is default. You run your test with Spring-test and after executing all the transactions he rollbacks the modifications.
What a funny thing! But sometimes you need the data.
You can add an extra annotation for prevention this problem to your class:
@TransactionConfiguration(defaultRollback = false)
and you can check all the results in your DB.
What a funny thing! But sometimes you need the data.
You can add an extra annotation for prevention this problem to your class:
@TransactionConfiguration(defaultRollback = false)
and you can check all the results in your DB.
