From 354c9734321df55717c809ec99258bd0d0078afb Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Mon, 24 Jul 2023 15:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ..._User.cs => APITest_User_UserType_Menu.cs} | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) rename EI_TestProject/{APITest_User.cs => APITest_User_UserType_Menu.cs} (86%) 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()