You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
using Shentun.Pacs.GuideTypes;
|
|
using Shentun.Pacs.Models;
|
|
using Shentun.Pacs.Sexs;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp;
|
|
using Volo.Abp.Domain.Repositories;
|
|
using Volo.Abp.Identity;
|
|
using Volo.Abp.Uow;
|
|
using Xunit;
|
|
using Xunit.Abstractions;
|
|
|
|
namespace Shentun.Pacs
|
|
{
|
|
public class ApiWorkTest : PeisApplicationTestBase
|
|
{
|
|
private readonly GuideTypeAppService _appService;
|
|
private readonly ITestOutputHelper _output;
|
|
private readonly IUnitOfWorkManager _unitOfWorkManager;
|
|
|
|
public ApiWorkTest(ITestOutputHelper testOutputHelper)
|
|
{
|
|
_output = testOutputHelper;
|
|
_unitOfWorkManager = GetRequiredService<IUnitOfWorkManager>();
|
|
_appService = GetRequiredService<GuideTypeAppService>();
|
|
}
|
|
|
|
|
|
//[Fact]
|
|
////[UnitOfWork]
|
|
//public async Task TestApi()
|
|
//{
|
|
// using (var aaa = _unitOfWorkManager.Begin(true, true))
|
|
// {
|
|
// await _appService.TestApi();
|
|
// }
|
|
//}
|
|
}
|
|
}
|