From cd730d0b1a775abacfba06003bb58327d5d1fb3c Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期四, 02 二月 2023 12:23:31 +0800
Subject: [PATCH] 同步数据
---
force-app/main/default/classes/OrdergoodsControllerTest.cls | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/OrdergoodsControllerTest.cls b/force-app/main/default/classes/OrdergoodsControllerTest.cls
index 518d1bf..c4e7f8f 100644
--- a/force-app/main/default/classes/OrdergoodsControllerTest.cls
+++ b/force-app/main/default/classes/OrdergoodsControllerTest.cls
@@ -185,6 +185,8 @@
samOrder.DeliveryContact__c = 'thh';
samOrder.ReceivePart__c = '鍔炰簨澶�';
samOrder.Account__c = account.Id;
+ samOrder.province__c ='鍥涘窛鐪�';
+ samOrder.city__c ='鎴愰兘甯�';
insert samOrder;
//閫変腑淇濆瓨
@@ -200,7 +202,14 @@
Test.setCurrentPage(ref2);
OrdergoodsController controller2 = new OrdergoodsController(new ApexPages.StandardController(samOrder));
controller2.init();
+ controller2.getprovinceop();
+ controller2.getCityop();
+ controller2.provinceName='鍥涘窛鐪�';
+ controller2.cityName='鎴愰兘甯�';
+ controller2.productInfoList[0].check = true;
+ controller2.productInfoList[0].SOLDel.ItemQuantity__c = 5;
controller2.save();
controller2.confirmBtn();
+
}
}
\ No newline at end of file
--
Gitblit v1.9.1