Fix broken tests

This commit is contained in:
Slendy 2023-08-27 00:33:22 -05:00
commit dd5b1b8f08
No known key found for this signature in database
GPG key ID: 7288D68361B91428
2 changed files with 7 additions and 3 deletions

View file

@ -60,7 +60,7 @@ public class ActivityEventHandlerTests
{
CommentId = 1,
PosterUserId = 1,
TargetId = 1,
TargetSlotId = 1,
Type = CommentType.Level,
};
database.Comments.Add(comment);
@ -89,7 +89,7 @@ public class ActivityEventHandlerTests
{
CommentId = 1,
PosterUserId = 1,
TargetId = 1,
TargetUserId = 1,
Type = CommentType.Profile,
};
database.Comments.Add(comment);
@ -152,7 +152,7 @@ public class ActivityEventHandlerTests
{
ScoreId = 1,
SlotId = 1,
PlayerIdCollection = "test",
UserId = 1,
};
database.Scores.Add(score);
await database.SaveChangesAsync();