24 lines
556 B
C#
24 lines
556 B
C#
using System.Threading.Tasks;
|
|
using UserPointManagement.Application.Services;
|
|
using UserPointManagement.Model.Dtos;
|
|
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);
|
|
}
|
|
} |