public async Task Should_Success_Get_Monitoring() { var dbContext = _dbContext(GetCurrentMethod()); var facadeGarmentstockReport = new GarmentStockReportFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod())); var facade = new GarmentUnitReceiptNoteFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod())); var data = await garmentUnitReceiptNoteDataUtil(facade, GetCurrentMethod()).GetTestDataMonitoringFlow(); var Response = facadeGarmentstockReport.GetStockReport(7, "SMP1", "BB", 1, 25, "{}", DateTime.Now.AddDays(-1), DateTime.Now.AddDays(4)); Assert.NotNull(Response.Item1); }
public async Task Should_Success_GENERATEEXCENotSample() { var dbContext = _dbContext(GetCurrentMethod()); var facadeGarmentstockReport = new GarmentStockReportFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod())); var facade = new GarmentUnitReceiptNoteFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod())); var data = await garmentUnitReceiptNoteDataUtil(facade, GetCurrentMethod()).GetTestDataMonitoringFlow(); var Response = facadeGarmentstockReport.GenerateExcelStockReport("BB", "FABRIC", "SAMPLE", "SMP1", DateTime.Now.AddDays(-1), DateTime.Now.AddDays(4), 7); Assert.NotNull(Response); }