aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services.Tests/PostService.Tests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Services/DevHive.Services.Tests/PostService.Tests.cs')
-rw-r--r--src/Services/DevHive.Services.Tests/PostService.Tests.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Services/DevHive.Services.Tests/PostService.Tests.cs b/src/Services/DevHive.Services.Tests/PostService.Tests.cs
index 058485e..feab3be 100644
--- a/src/Services/DevHive.Services.Tests/PostService.Tests.cs
+++ b/src/Services/DevHive.Services.Tests/PostService.Tests.cs
@@ -124,7 +124,8 @@ namespace DevHive.Services.Tests
Post post = new Post
{
Message = MESSAGE,
- Creator = creator
+ Creator = creator,
+ Ratings = new List<Rating>()
};
ReadPostServiceModel readPostServiceModel = new ReadPostServiceModel
{