1
0
mirror of https://github.com/bitwarden/server synced 2026-02-12 14:33:49 +00:00

test(register): [PM-27084] Account Register Uses New Data Types - Addressed feedback and added tests.

This commit is contained in:
Patrick Pimentel
2026-01-12 15:11:58 -05:00
parent 9e43ca2442
commit 93c9631a75
4 changed files with 24 additions and 13 deletions

View File

@@ -239,7 +239,6 @@ public class IdentityApplicationFactory : WebApplicationFactoryBase<Startup>
if (requestModel.MasterPasswordUnlock != null)
{
var unlock = requestModel.MasterPasswordUnlock;
// PM-28143 - Once UserSymmetricKey is removed and UnlockData is required, delete the fallback to UserSymmetricKey below.
// Always force a valid encrypted string for tests to avoid model validation failures.
var masterKeyWrappedUserKey = DefaultEncryptedString;
requestModel.MasterPasswordUnlock = new MasterPasswordUnlockDataRequestModel