public async Task Should_Success_Get_Report_POIPOExDuration_Data() { var model = await EPODataUtil.GetTestData2("Unit test"); var Response = Facade.GetIPOEPODurationReport(model.UnitId, "8-14 hari", null, null, 1, 25, "{}", 7); Assert.NotEqual(Response.Item2, 0); }
public async Task Should_Success_Get_Report_POIPOEDuration_Excel() { var model = await EPODataUtil.GetTestData2("Unit test"); var Response = Facade.GenerateExcelIPOEPODuration(model.UnitId, "8-14 hari", null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); }