Skip to content

Commit

Permalink
fix testmethod
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSebastian committed Nov 14, 2024
1 parent 398c72b commit 1b437af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ void should_encryptExistingUsers_when_usersExists() {

val savedSavedUnencryptedUser = transactionTemplate.execute(status -> crudUserRepository.save(userToEncrypt));

transactionTemplate.executeWithoutResult(status -> userRepository.onSchedule());
transactionTemplate.executeWithoutResult(status -> userRepository.onInit());

val userAfterEncryption = crudUserRepository.findById(savedSavedUnencryptedUser.getId()).get();

Expand Down

0 comments on commit 1b437af

Please sign in to comment.