mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-03 18:48:40 +00:00
Fix photo activity handler test
This commit is contained in:
parent
cd0c85308a
commit
402fd4b493
1 changed files with 9 additions and 0 deletions
|
@ -120,12 +120,21 @@ public class ActivityEventHandlerTests
|
|||
Username = "test",
|
||||
UserId = 1,
|
||||
},
|
||||
},
|
||||
new List<SlotEntity>
|
||||
{
|
||||
new()
|
||||
{
|
||||
SlotId = 1,
|
||||
CreatorId = 1,
|
||||
},
|
||||
});
|
||||
|
||||
PhotoEntity photo = new()
|
||||
{
|
||||
PhotoId = 1,
|
||||
CreatorId = 1,
|
||||
SlotId = 1,
|
||||
};
|
||||
database.Photos.Add(photo);
|
||||
await database.SaveChangesAsync();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue