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.

36 lines
1.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit.Abstractions;
namespace Shentun.Peis.PlugIns.Tests
{
public class WebAppointWebPeisPlugInsTest
{
private readonly ITestOutputHelper _output;
public WebAppointWebPeisPlugInsTest(ITestOutputHelper testOutputHelper)
{
_output = testOutputHelper;
}
[Fact]
public async Task GetListByFilterAsync()
{
var plugIns = new WebAppointWebPeisPlugIns(new Guid("43a9c3a5-8741-4c64-b869-bc304712d88e"));
var items = await plugIns.GetListByFilterAsync(new AppointPatientRegisters.AppointPatientRegisterPlugInsInputDto()
{
MobilePhone = "18911254911",
AppointStartDate = DateTime.Now.Date.AddDays(-10)
});
foreach (var item in items)
{
_output.WriteLine(item.PersonName);
}
}
}
}