Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
e852d374
Commit
e852d374
authored
Nov 07, 2019
by
吕雯燕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv
parent
a437263c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
商品分组组件_DuibaTest.java
...st/java/http/cases/VisualEditorTest/商品分组组件_DuibaTest.java
+1
-1
商品组件_DuibaTest.java
...test/java/http/cases/VisualEditorTest/商品组件_DuibaTest.java
+1
-1
No files found.
src/test/java/http/cases/VisualEditorTest/商品分组组件_DuibaTest.java
View file @
e852d374
...
...
@@ -85,7 +85,7 @@ public class 商品分组组件_DuibaTest extends DuibaTestBase {
case
1
:
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[0].title"
),
"支付宝充值"
,
"校验第一个商品title失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[0].customCredits"
),
"1000
00
"
,
"校验第一个商品credits失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[0].customCredits"
),
"1000"
,
"校验第一个商品credits失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[0].smallImage"
),
"//yun.dui88.com/images/201610/txqn3qz6o9.jpg"
,
"校验第一个商品smallImage失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[1].title"
),
"10元话费"
,
"校验第二个商品title失败"
);
...
...
src/test/java/http/cases/VisualEditorTest/商品组件_DuibaTest.java
View file @
e852d374
...
...
@@ -61,7 +61,7 @@ public class 商品组件_DuibaTest extends DuibaTestBase{
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[0].smallImage"
),
"//yun.duiba.com.cn/developer/img/phonebilldingzhi10/telephone_charge_breviary.jpg"
,
"校验第一个商品smallImage失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[1].title"
),
"支付宝充值"
,
"校验第二个商品title失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[1].customCredits"
),
"1000
00
"
,
"校验第二个商品credits失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[1].customCredits"
),
"1000"
,
"校验第二个商品credits失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[1].facePrice"
),
"0.00"
,
"校验第二个商品facePrice失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.rows[1].smallImage"
),
"//yun.dui88.com/images/201610/txqn3qz6o9.jpg"
,
"校验第二个商品smallImage失败"
);
...
...
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