Exemplo n.º 1
0
        public async Task AllAssociateMethod()
        {
            Program.BuildConfiguration();
            var data = await AssociateService.GetAllAsync(new TeamHttpContext(MockData.httpContext), MockData.year, MockData.month, 0, 5).ConfigureAwait(false);

            string result = data.Code == HttpStatusCode.OK ? "OK" : "ERROR";

            Xunit.Assert.Equal("OK", result);
        }