public async Task Should_Success_GetProductionOrderStatusReportExcel() { var dbContext = _dbContext(GetCurrentMethod()); _kanbanDataUtil(dbContext).GetNewData(); var service = new OrderStatusReportService(dbContext, _serviceProviderMonthly()); var response = await service.GetProductionOrderStatusReportExcel(0, 0); Assert.NotNull(response); }
public async Task Should_Success_GetMonthlyOrderStatusReport() { var dbContext = _dbContext(GetCurrentMethod()); _kanbanDataUtil(dbContext).GetNewData(); var service = new OrderStatusReportService(dbContext, _serviceProviderMonthly()); var response = await service.GetMonthlyOrderStatusReport(DateTime.Now.Year, DateTime.Now.Month, 0); Assert.NotNull(response); }