Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
70a3dbed
Commit
70a3dbed
authored
Mar 16, 2022
by
周晓航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spock自测
parent
02029f95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
shopping-cart-application-service/src/test/spock/cn/freemud/service/impl/ShoppingCartNewServiceImplTest.groovy
+6
-1
No files found.
shopping-cart-application-service/src/test/spock/cn/freemud/service/impl/ShoppingCartNewServiceImplTest.groovy
View file @
70a3dbed
...
...
@@ -69,7 +69,12 @@ class ShoppingCartNewServiceImplTest extends Specification {
}
def
"测试 getShoppingCartGoods 订单调用购物车获取结算金额"
()
{
def
"测试 /addGoods"
()
{
}
def
"测试 /getShoppingCartGoodsApportion 订单调用购物车获取结算金额"
()
{
given:
"参数设置"
def
getShoppingCartGoodsApportionRequestVo
=
JSON
.
parseObject
(
"{\"shoppingCartInfoRequestVo\":{\"activityCode\":\"G1643164091158349\",\"buyType\":0,\"couponCode\":\"88709227085491207040\",\"couponCodes\":[{\"activityCode\":\"G1643164091158349\",\"couponCode\":\"88709227085491207040\",\"couponType\":7,\"discountAmount\":800,\"index\":1}],\"flag\":0,\"menuType\":\"saas\",\"orderType\":1,\"partnerId\":\"2581\",\"reachStoreType\":5,\"sendGoods\":[],\"sessionId\":\"eac53a53f8ae62def7f40cb1e47a1bd9791d95a8\",\"shopId\":\"229830\",\"trackingNo\":\"8283bc4c7e5f4bbb8b357e3c0bef7183\",\"useCouponFlag\":1,\"useCustomerScore\":2,\"version\":\"2.0.60.6\"}}"
,
GetShoppingCartGoodsApportionRequestVo
.
class
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment