[PM-25933] Replace SDK call updatePassword (#5916)

This commit is contained in:
André Bispo 2025-09-23 16:11:07 +01:00 committed by GitHub
parent 8a2bcfade8
commit d74040e7b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -474,7 +474,7 @@ class VaultSdkSourceImpl(
): Result<UpdatePasswordResponse> = runCatchingWithLogs { ): Result<UpdatePasswordResponse> = runCatchingWithLogs {
getClient(userId = userId) getClient(userId = userId)
.crypto() .crypto()
.updatePassword(newPassword = newPassword) .makeUpdatePassword(newPassword = newPassword)
} }
override suspend fun exportVaultDataToString( override suspend fun exportVaultDataToString(

View File

@ -1079,7 +1079,7 @@ class VaultSdkSourceTest {
newKey = newKey, newKey = newKey,
) )
coEvery { coEvery {
clientCrypto.updatePassword( clientCrypto.makeUpdatePassword(
newPassword = newPassword, newPassword = newPassword,
) )
} returns updatePasswordResponse } returns updatePasswordResponse