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
a8ad2db3
Commit
a8ad2db3
authored
Dec 03, 2018
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
b2574e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
账户余额清零_AccessTest.java
src/test/java/http/cases/WalletTest/账户余额清零_AccessTest.java
+4
-3
No files found.
src/test/java/http/cases/WalletTest/账户余额清零_AccessTest.java
View file @
a8ad2db3
...
@@ -108,11 +108,12 @@ public class 账户余额清零_AccessTest extends DuibaTestBase {
...
@@ -108,11 +108,12 @@ public class 账户余额清零_AccessTest extends DuibaTestBase {
//获取最新的提现记录
//获取最新的提现记录
Thread
.
sleep
(
3000
);
Map
cookies
=
authorization
.
dafuwengLogin
(
uid
);
Map
cookies
=
authorization
.
dafuwengLogin
(
uid
);
Response
response
=
walletAccountService
.
walletDetail
(
cookies
);
Response
response
=
walletAccountService
.
walletDetail
(
cookies
);
String
money
=
response
.
jsonPath
().
getString
(
"data[
1
].money"
);
String
money
=
response
.
jsonPath
().
getString
(
"data[
0
].money"
);
String
subType
=
response
.
jsonPath
().
getString
(
"data[
1
].subType"
);
String
subType
=
response
.
jsonPath
().
getString
(
"data[
0
].subType"
);
String
description
=
response
.
jsonPath
().
getString
(
"data[
1
].description"
);
String
description
=
response
.
jsonPath
().
getString
(
"data[
0
].description"
);
Assert
.
assertTrue
(
new
BigDecimal
(
money
).
compareTo
(
new
BigDecimal
(
"100"
))==
0
,
"扣款金额校验失败"
);
Assert
.
assertTrue
(
new
BigDecimal
(
money
).
compareTo
(
new
BigDecimal
(
"100"
))==
0
,
"扣款金额校验失败"
);
Assert
.
assertEquals
(
subType
,
"0"
,
"日志类型校验失败"
);
Assert
.
assertEquals
(
subType
,
"0"
,
"日志类型校验失败"
);
...
...
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