mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 20:07:59 -06:00
[PM-25933] Replace SDK call updatePassword (#5916)
This commit is contained in:
parent
8a2bcfade8
commit
d74040e7b9
@ -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(
|
||||||
|
|||||||
@ -1079,7 +1079,7 @@ class VaultSdkSourceTest {
|
|||||||
newKey = newKey,
|
newKey = newKey,
|
||||||
)
|
)
|
||||||
coEvery {
|
coEvery {
|
||||||
clientCrypto.updatePassword(
|
clientCrypto.makeUpdatePassword(
|
||||||
newPassword = newPassword,
|
newPassword = newPassword,
|
||||||
)
|
)
|
||||||
} returns updatePasswordResponse
|
} returns updatePasswordResponse
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user