diff options
| author | transtrike <transtrike@gmail.com> | 2021-03-15 09:23:25 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-03-15 09:23:25 +0200 |
| commit | e3b5757b5a5db2f7874b0924cdd4a22b1a9e1ee2 (patch) | |
| tree | cdf7a0e258774e52bc09fb61469c8b6ff4216c2f /src/Web/DevHive.Web.Tests/UserController.Tests.cs | |
| parent | 02cf05d6cc38e6907404f65976440b811d6cc60a (diff) | |
| download | DevHive-e3b5757b5a5db2f7874b0924cdd4a22b1a9e1ee2.tar DevHive-e3b5757b5a5db2f7874b0924cdd4a22b1a9e1ee2.tar.gz DevHive-e3b5757b5a5db2f7874b0924cdd4a22b1a9e1ee2.zip | |
Fixed to new() where possible and readable
Diffstat (limited to 'src/Web/DevHive.Web.Tests/UserController.Tests.cs')
| -rw-r--r-- | src/Web/DevHive.Web.Tests/UserController.Tests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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<IUserService>(); - this.MapperMock = new Mock<IMapper>(); - 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 |
