Skip to content

Commit

Permalink
UT
Browse files Browse the repository at this point in the history
  • Loading branch information
SodhiA1 committed Jan 29, 2025
1 parent 5fe5cbe commit 604b5f7
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,16 @@ public class StudentDataCollectionTestUtils {
ProgramDuplicateTypeCodeRepository programDuplicateTypeCodeRepository;
@Autowired
SdcSchoolCollectionStatusCodeRepository sdcSchoolCollectionStatusCodeRepository;
@Autowired
SagaRepository sagaRepository;
@Autowired
SagaEventRepository sagaEventRepository;

@Transactional(propagation = Propagation.REQUIRES_NEW)
public void cleanDB() {
sagaEventRepository.deleteAll();
sagaRepository.deleteAll();

sdcDuplicateRepository.deleteAll();
sdcSchoolHistoryRepository.deleteAll();
sdcSchoolRepository.deleteAll();
Expand Down

0 comments on commit 604b5f7

Please sign in to comment.