mirror of https://github.com/abpframework/abp
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.
26 lines
697 B
26 lines
697 B
using Microsoft.Extensions.DependencyInjection;
|
|
using Shouldly;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Xunit;
|
|
|
|
namespace Volo.Abp.TestApp.Application
|
|
{
|
|
public class PersonAppService_Tests : TestAppTestBase
|
|
{
|
|
private readonly IPeopleAppService _peopleAppService;
|
|
|
|
public PersonAppService_Tests()
|
|
{
|
|
_peopleAppService = ServiceProvider.GetRequiredService<IPeopleAppService>();
|
|
}
|
|
|
|
[Fact]
|
|
public async Task GetAll()
|
|
{
|
|
var people = await _peopleAppService.GetListAsync(new PagedAndSortedResultRequestDto());
|
|
people.Items.Count.ShouldBeGreaterThan(0);
|
|
}
|
|
}
|
|
}
|