From e3b5757b5a5db2f7874b0924cdd4a22b1a9e1ee2 Mon Sep 17 00:00:00 2001 From: transtrike Date: Mon, 15 Mar 2021 09:23:25 +0200 Subject: Fixed to new() where possible and readable --- src/Web/DevHive.Web.Tests/CommentController.Tests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Web/DevHive.Web.Tests/CommentController.Tests.cs') 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(); - this.MapperMock = new Mock(); - 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 -- cgit v1.2.3