From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新
---
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