コード例 #1
0
        public async Task Should_Success_Get_Report_Data_Null_Parameter()
        {
            ExternalPurchaseOrder modelEPO = await EPODataUtil.GetTestDataMP("Unit test");

            var Response = FacadeMP.GetDisplayReport("", null, null, 1, 50, "{}", 7);

            Assert.NotEqual(Response.Item2, 0);
        }
コード例 #2
0
        public async Task Should_Success_Get_Report_Data()
        {
            ExternalPurchaseOrder modelEPO = await EPODataUtil.GetTestDataMP("Unit test");

            var EPODtl   = modelEPO.Items.First().Details.First();
            var Response = FacadeMP.GetDisplayReport(EPODtl.ProductName, null, null, 1, 50, "{}", 7);

            Assert.NotEqual(Response.Item2, 0);
        }