diff --git a/wls-auth-service/src/test/java/de/muenchen/oss/wahllokalsystem/authservice/domain/UserRepositoryImplIntegrationTest.java b/wls-auth-service/src/test/java/de/muenchen/oss/wahllokalsystem/authservice/domain/UserRepositoryImplIntegrationTest.java index fadb305a9..e55ac7c13 100644 --- a/wls-auth-service/src/test/java/de/muenchen/oss/wahllokalsystem/authservice/domain/UserRepositoryImplIntegrationTest.java +++ b/wls-auth-service/src/test/java/de/muenchen/oss/wahllokalsystem/authservice/domain/UserRepositoryImplIntegrationTest.java @@ -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();