Remove unused fat

This commit is contained in:
2024-10-20 14:10:36 -04:00
parent 28d74503df
commit 905d3747d2
48 changed files with 20 additions and 792 deletions

View File

@@ -1,5 +1,4 @@
using Hutopy.Domain.Constants;
using Hutopy.Infrastructure.Identity;
using Hutopy.Infrastructure.Identity;
using Hutopy.Web.Common;
using Hutopy.Web.Features.Contents.Data;
using Hutopy.Web.Features.Messages.Data;
@@ -34,7 +33,7 @@ internal class TestDataSeeder(
{
if (contentContext.Contents.Any()) return;
_users.Add(await CreateUserAsync("admin", null, Roles.Administrator));
_users.Add(await CreateUserAsync("admin", null, KnownRoles.Administrator));
var userA = await CreateUserAsync("userA", null);
_users.Add(userA);
_users.Add(await CreateUserAsync("userB", null));
@@ -44,7 +43,7 @@ internal class TestDataSeeder(
var creatorUser = await CreateUserAsync(
creator.Name,
creator.Images.Logo,
Roles.Creator);
KnownRoles.Creator);
creator.Id = creatorUser.Id;
creator.CreatedBy = creator.Id;