tdd-spring-react icon indicating copy to clipboard operation
tdd-spring-react copied to clipboard

HoaxControllerTest cleanupAfter

Open basarbk opened this issue 5 years ago • 0 comments

After relationships is added between Hoax and User, running all tests alltogehter may fail, if HoaxConrollerTest runs before LoginControllerTest or UserControllerTest. Hoax table must be cleared after HoaxControllerTest fails. After Hoax and FileAttachment, that cleanup method must also handle the fileAttachment cleanup. Or set cascade for User to Hoax and Hoax to FileAttachment relationship

basarbk avatar Jan 23 '20 15:01 basarbk