修改单元测试

Test.EIImageViewer
hang 2023-07-24 15:46:54 +08:00
parent 9dcbf4b4c2
commit 354c973432
1 changed files with 21 additions and 1 deletions

View File

@ -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
/// <summary>
/// 删除系统用户
/// </summary>
@ -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<ResponseOutput<List<UserTypeRoleView>>>(url, jsonBody);
Assert.True(result.Data.Count >= 0);
}
[Fact]
public async void Test_AddUserTypeRole()
{
}
public void Dispose()