Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }