Add user avatar and profile feature, consolidate Auth and UserManagement features (#257)

This commit is contained in:
Aaron Po
2026-08-31 00:11:48 -04:00
committed by GitHub
parent ade2128a73
commit 39c5a89ca7
130 changed files with 1005 additions and 613 deletions

View File

@@ -0,0 +1,24 @@
using Features.Auth.Identity;
using Microsoft.AspNetCore.Identity;
using Moq;
namespace Features.Auth.Tests.TestSupport;
public static class UserManagerMockFactory
{
public static Mock<UserManager<ApplicationUser>> Create()
{
Mock<IUserStore<ApplicationUser>> storeMock = new();
return new Mock<UserManager<ApplicationUser>>(
storeMock.Object,
null!,
null!,
null!,
null!,
null!,
null!,
null!,
null!
);
}
}