mirror of https://github.com/abpframework/eventhub
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.
27 lines
921 B
27 lines
921 B
using System.Threading.Tasks;
|
|
using Payment.Admin.Payments;
|
|
using Shouldly;
|
|
using Xunit;
|
|
|
|
namespace Payment.Admin.Application.Tests.PaymentRequests
|
|
{
|
|
public class PaymentRequestAdminAppService_Tests : PaymentAdminApplicationTestBase
|
|
{
|
|
private readonly IPaymentRequestAdminAppService _paymentRequestAdminAppService;
|
|
|
|
public PaymentRequestAdminAppService_Tests()
|
|
{
|
|
_paymentRequestAdminAppService = GetRequiredService<IPaymentRequestAdminAppService>();
|
|
}
|
|
|
|
[Fact]
|
|
public async Task GetListAsync()
|
|
{
|
|
var paymentRequests = await _paymentRequestAdminAppService.GetListAsync(new PaymentRequestGetListInput());
|
|
|
|
paymentRequests.Items.ShouldNotBeNull();
|
|
paymentRequests.Items.Count.ShouldBeGreaterThanOrEqualTo(1);
|
|
paymentRequests.TotalCount.ShouldBeGreaterThanOrEqualTo(1);
|
|
}
|
|
}
|
|
}
|