aboutsummaryrefslogtreecommitdiff
path: root/src/Web/DevHive.Web.Tests/PostController.Tests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Web/DevHive.Web.Tests/PostController.Tests.cs')
-rw-r--r--src/Web/DevHive.Web.Tests/PostController.Tests.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Web/DevHive.Web.Tests/PostController.Tests.cs b/src/Web/DevHive.Web.Tests/PostController.Tests.cs
index f10f8dd..d2107af 100644
--- a/src/Web/DevHive.Web.Tests/PostController.Tests.cs
+++ b/src/Web/DevHive.Web.Tests/PostController.Tests.cs
@@ -23,9 +23,9 @@ namespace DevHive.Web.Tests
[SetUp]
public void SetUp()
{
- this.PostServiceMock = new Mock<IPostService>();
- this.MapperMock = new Mock<IMapper>();
- this.PostController = new PostController(this.PostServiceMock.Object, this.MapperMock.Object);
+ this.PostServiceMock = new();
+ this.MapperMock = new();
+ this.PostController = new(this.PostServiceMock.Object, this.MapperMock.Object);
}
#region Create