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/UserController.Tests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Web/DevHive.Web.Tests/UserController.Tests.cs') diff --git a/src/Web/DevHive.Web.Tests/UserController.Tests.cs b/src/Web/DevHive.Web.Tests/UserController.Tests.cs index e12738e..3dfcfa3 100644 --- a/src/Web/DevHive.Web.Tests/UserController.Tests.cs +++ b/src/Web/DevHive.Web.Tests/UserController.Tests.cs @@ -23,9 +23,9 @@ namespace DevHive.Web.Tests [SetUp] public void SetUp() { - this.UserServiceMock = new Mock(); - this.MapperMock = new Mock(); - this.UserController = new UserController(this.UserServiceMock.Object, this.MapperMock.Object); + this.UserServiceMock = new(); + this.MapperMock = new(); + this.UserController = new(this.UserServiceMock.Object, this.MapperMock.Object); } #region Create -- cgit v1.2.3