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
c507d36b
Commit
c507d36b
authored
Jul 18, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add case
parent
9fd3d239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
Qb_兑换流程测试_ExchangeTest.java
...cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换流程测试_ExchangeTest.java
+18
-0
No files found.
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/Qb_兑换流程测试_ExchangeTest.java
View file @
c507d36b
...
...
@@ -111,6 +111,24 @@ public class Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
}
@Test
public
void
qbExchange_
档位不存在
()
throws
Exception
{
int
uid
=
3767
;
String
message
=
""
;
try
{
Response
response
=
qbExchangeService
.
doTakePrize
(
authorization
.
dafuwengLogin
(
uid
),
"123434555453"
,
"99"
);
}
catch
(
Exception
e
){
message
=
e
.
toString
();
}
logger
.
info
(
message
);
Assert
.
assertTrue
(
message
.
contains
(
"\"success\":false,\"message\":\"档位不存在\""
));
}
@Test
public
void
qbExchange_
积分不足
()
throws
Exception
{
int
uid
=
3086
;
...
...
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