修改单元测试
parent
9dcbf4b4c2
commit
354c973432
|
@ -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()
|
Loading…
Reference in New Issue