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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user