Refactor: Move bcrypt inside kodein module for easier testing

This commit is contained in:
2020-06-18 16:50:39 +02:00
parent 214286a6eb
commit 1611ca6ab4
8 changed files with 39 additions and 20 deletions
@@ -52,7 +52,7 @@ class UserServiceTest {
@Order(2)
fun `test create same user`() {
runBlocking {
userService.create(username = "hubert", hashedPassword = "password") `should be` null
userService.create(username = "hubert", password = "password") `should be` null
}
}