UserPointManagement/test/UserPointManagement.Applica.../Services/UserServiceTest.cs

25 lines
599 B
C#

using System.Threading.Tasks;
using UserPointManagement.Application.Services;
using UserPointManagement.Model.Dtos;
using UserPointManagement.Model.Dtos.User;
using Xunit;
namespace UserPointManagement.Application.Tests.Services;
public class UserServiceTest
{
private readonly IUserService _userService;
public UserServiceTest(IUserService userService)
{
_userService = userService;
}
[Fact]
public async Task GetUsers()
{
var res = await _userService.GetUsers(new GetUserDto()).ConfigureAwait(false);
Assert.NotNull(res);
}
}