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
9fbb7111
Commit
9fbb7111
authored
Apr 02, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
2cdd1fa9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
商品订单失败测试_ExchangeTest.java
...t/java/http/cases/ExchangeTest/商品订单失败测试_ExchangeTest.java
+1
-1
多档位话费_兑换流程测试_ExchangeTest.java
...va/http/cases/ExchangeTest/多档位话费_兑换流程测试_ExchangeTest.java
+4
-2
No files found.
src/test/java/http/cases/ExchangeTest/商品订单失败测试_ExchangeTest.java
View file @
9fbb7111
...
...
@@ -279,7 +279,7 @@ public class 商品订单失败测试_ExchangeTest extends CheckTemplet {
Assert
.
assertEquals
(
statusResponse
.
jsonPath
().
getString
(
"message"
),
"收款账号不存在"
,
"校验message失败"
);
Assert
.
assertEquals
(
orderStatus
,
"fail"
,
"校验数据库status失败"
);
Assert
.
assertEquals
(
orderError
,
"
40004:Business Failed_PAYEE_NOT_EXIST:
收款账号不存在"
,
"校验数据库error失败"
);
Assert
.
assertEquals
(
orderError
,
"收款账号不存在"
,
"校验数据库error失败"
);
logger
.
info
(
"校验支付宝异常账户兑换失败成功"
);
}
...
...
src/test/java/http/cases/ExchangeTest/多档位话费_兑换流程测试_ExchangeTest.java
View file @
9fbb7111
...
...
@@ -53,7 +53,8 @@ public class 多档位话费_兑换流程测试_ExchangeTest extends CheckTemple
//再次兑换
try
{
response
=
couponExchangeService
.
phonebillExchange
(
authorization
.
dafuwengLogin
(
uid
),
"10"
);
response
.
prettyPrint
();
// response.prettyPrint();
logger
.
info
(
response
.
toString
());
}
catch
(
Exception
e
){
message
=
e
.
toString
();
...
...
@@ -140,7 +141,8 @@ public class 多档位话费_兑换流程测试_ExchangeTest extends CheckTemple
//再次兑换
try
{
response
=
couponExchangeService
.
phonebillExchange
(
authorization
.
dafuwengLogin
(
uid
),
"50"
);
response
.
prettyPrint
();
// response.prettyPrint();
logger
.
info
(
response
.
toString
());
}
catch
(
Exception
e
){
message
=
e
.
toString
();
...
...
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