mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-09 21:38:43 +00:00
Fix foreign key constraint on comment activity test
This commit is contained in:
parent
dd5b1b8f08
commit
a6aa12fbd9
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@ public class ActivityEventHandlerTests
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
SlotEntity slot = new()
|
||||||
|
{
|
||||||
|
SlotId = 1,
|
||||||
|
};
|
||||||
|
database.Slots.Add(slot);
|
||||||
|
|
||||||
CommentEntity comment = new()
|
CommentEntity comment = new()
|
||||||
{
|
{
|
||||||
CommentId = 1,
|
CommentId = 1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue