Added RoleController

This commit is contained in:
2025-03-27 19:05:15 +01:00
parent ac20664446
commit 654cd159bc
7 changed files with 865 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ using BasicDotnetTemplate.MainProject.Models.Database.SqlServer;
namespace BasicDotnetTemplate.MainProject.Tests;
[TestClass]
public class UserControllerTests
public class UserController_Tests
{
private Mock<IUserService>? _userServiceMock;
private Mock<IRoleService>? _roleServiceMock;
@@ -100,7 +100,7 @@ public class UserControllerTests
}
[TestMethod]
public async Task GetUserByGuidAsync_AuthenticateRequestDataNull()
public async Task GetUserByGuidAsync_GuidIsEmpty()
{
if (_userController == null)
{