From f92d7d2bff6d49c94457e2525587b1aef0714f1e Mon Sep 17 00:00:00 2001 From: Patrick Pimentel Date: Mon, 12 Jan 2026 16:02:20 -0500 Subject: [PATCH] test(register): [PM-27084] Account Register Uses New Data Types - Addressed more feedback. No longer overriding the master password hash. --- .../Factories/IdentityApplicationFactory.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/IntegrationTestCommon/Factories/IdentityApplicationFactory.cs b/test/IntegrationTestCommon/Factories/IdentityApplicationFactory.cs index bee5858810..e190dda427 100644 --- a/test/IntegrationTestCommon/Factories/IdentityApplicationFactory.cs +++ b/test/IntegrationTestCommon/Factories/IdentityApplicationFactory.cs @@ -240,11 +240,10 @@ public class IdentityApplicationFactory : WebApplicationFactoryBase { var unlock = requestModel.MasterPasswordUnlock; // Always force a valid encrypted string for tests to avoid model validation failures. - var masterKeyWrappedUserKey = DefaultEncryptedString; requestModel.MasterPasswordUnlock = new MasterPasswordUnlockDataRequestModel { Kdf = alignedKdf, - MasterKeyWrappedUserKey = masterKeyWrappedUserKey, + MasterKeyWrappedUserKey = unlock.MasterKeyWrappedUserKey, Salt = string.IsNullOrWhiteSpace(unlock.Salt) ? requestModel.Email : unlock.Salt }; }