diff --git a/EI_TestProject/APITest_User.cs b/EI_TestProject/APITest_User_UserType_Menu.cs similarity index 86% rename from EI_TestProject/APITest_User.cs rename to EI_TestProject/APITest_User_UserType_Menu.cs index 404d5bbe..df35b956 100644 --- a/EI_TestProject/APITest_User.cs +++ b/EI_TestProject/APITest_User_UserType_Menu.cs @@ -5,6 +5,7 @@ using Azure.Core; using BeetleX.Redis.Commands; using EI_TestProject; using IRaCIS.Application.Contracts; +using IRaCIS.Core.Application.Contracts; using IRaCIS.Core.Infrastructure; using IRaCIS.Core.Infrastructure.Extention; using Newtonsoft.Json; @@ -88,7 +89,6 @@ public class UserApiTests : IDisposable - /// /// ɾ³ýϵͳÓû§ /// @@ -105,6 +105,26 @@ public class UserApiTests : IDisposable } + [Fact] + public async void Test_GetUserTypeRoleList() + { + var url = $"/UserTypeRole/getUserTypeRoleList"; + var jsonBody = new JObject + { + + }; + + var result = await RestHelper.Post_JsonBodyRequestAsync>>(url, jsonBody); + + Assert.True(result.Data.Count >= 0); + } + + + [Fact] + public async void Test_AddUserTypeRole() + { + + } public void Dispose()