Example #1
0
        public async Task Should_Success_Get_Report_POOverBudget_Data()
        {
            GarmentDeliveryOrderFacade facade = new GarmentDeliveryOrderFacade(GetServiceProvider().Object, _dbContext(GetCurrentMethod()));
            var data = await dataUtilDO(facade, GetCurrentMethod()).GetNewData();

            await facade.Create(data, USERNAME);

            var Facade    = new GarmentExternalPurchaseOrderFacade(ServiceProvider, _dbContext(GetCurrentMethod()));
            var Response  = Facade.GetEPOOverBudgetReport(null, null, null, null, null, null, 1, 25, "{}", 7);
            var Response1 = Facade.GetEPOOverBudgetReport(null, null, null, "BELUM", null, null, 1, 25, "{}", 7);

            Assert.NotNull(Response.Item1);
            Assert.NotNull(Response1.Item1);
        }