mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-05 03:18:45 +00:00
Fix broken tests
This commit is contained in:
parent
7533ae5e89
commit
dd5b1b8f08
2 changed files with 7 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -9,6 +9,10 @@ using LBPUnion.ProjectLighthouse.Types.Entities.Profile;
|
|||
using LBPUnion.ProjectLighthouse.Types.Entities.Website;
|
||||
using LBPUnion.ProjectLighthouse.Types.Levels;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
#if DEBUG
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Reflection;
|
||||
#endif
|
||||
|
||||
namespace LBPUnion.ProjectLighthouse.Types.Activity;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue