Refactor: Move bcrypt inside kodein module for easier testing
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user