public async void Should_Success_Get_Report_POEDODuration_Excel() { var model = await EPODataUtil.GetTestData("Unit test"); var model2 = await DataUtil.GetTestData("Unit test"); var model3 = await DODataUtil.GetTestData2("Unit test"); var model4 = await PRDataUtil.GetTestData("Unit test"); var Response = Facade.GenerateExcelEPODODuration(model.UnitId, "31-60 hari", null, null, 7); Assert.IsType(typeof(System.IO.MemoryStream), Response); }
public async void Should_Success_Get_Report_POExDODuration_Data() { var model = await EPODataUtil.GetTestData("Unit test"); var model2 = await DataUtil.GetTestData("Unit test"); var model3 = await DODataUtil.GetTestData2("Unit test"); var model4 = await PRDataUtil.GetTestData("Unit test"); var Response = Facade.GetEPODODurationReport(model.UnitId, "31-60 hari", null, null, 1, 25, "{}", 7); Assert.NotEqual(Response.Item2, 0); }