Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Web / DevHive.Web.Tests / CommentController.Tests.cs
diff options
context:
space:
mode:
1 files changed, 3 insertions, 3 deletions
-rw-r--r--src/Web/DevHive.Web.Tests/CommentController.Tests.cs6
diff --git a/src/Web/DevHive.Web.Tests/CommentController.Tests.cs b/src/Web/DevHive.Web.Tests/CommentController.Tests.cs
index 7860f3c..d5ba5a3 100644
--- a/src/Web/DevHive.Web.Tests/CommentController.Tests.cs
+++ b/src/Web/DevHive.Web.Tests/CommentController.Tests.cs
@@ -24,9 +24,9 @@ namespace DevHive.Web.Tests
[SetUp]
public void SetUp()
{
- this.CommentServiceMock = new Mock<ICommentService>();
- this.MapperMock = new Mock<IMapper>();
- this.CommentController = new CommentController(this.CommentServiceMock.Object, this.MapperMock.Object);
+ this.CommentServiceMock = new();
+ this.MapperMock = new();
+ this.CommentController = new(this.CommentServiceMock.Object, this.MapperMock.Object);
}
#endregion