1
0
mirror of https://github.com/bitwarden/server synced 2026-02-21 20:03:40 +00:00

comment(register): [PM-27084] Account Register Uses New Data Types - Removed troublesome null safeguarding.

This commit is contained in:
Patrick Pimentel
2025-12-31 17:01:21 -05:00
parent b0cce70c59
commit af2f704033
4 changed files with 537 additions and 66 deletions

View File

@@ -279,7 +279,6 @@ public class IdentityApplicationFactory : WebApplicationFactoryBase<Startup>
requestModel.EmailVerificationToken = RegistrationTokens[requestModel.Email];
var postRegisterFinishHttpContext = await PostRegisterFinishAsync(requestModel);
Assert.Equal(StatusCodes.Status200OK, postRegisterFinishHttpContext.Response.StatusCode);
var database = GetDatabaseContext();
@@ -290,4 +289,5 @@ public class IdentityApplicationFactory : WebApplicationFactoryBase<Startup>
return user;
}
}