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
32d443f2
Commit
32d443f2
authored
Dec 19, 2019
by
吕雯燕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv
parent
3a8efc6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Database.java
src/test/java/http/cases/ExchangeTest/Database.java
+1
-1
新Qb_兑换流程测试_ExchangeTest.java
...ases/ExchangeTest/兑吧_直充类商品兑换/新Qb_兑换流程测试_ExchangeTest.java
+4
-4
No files found.
src/test/java/http/cases/ExchangeTest/Database.java
View file @
32d443f2
...
...
@@ -17,7 +17,7 @@ public class Database {
public
static
String
orders13
=
"orders_0411"
;
public
static
String
orders14
=
"orders_0712"
;
public
static
String
orders15
=
"orders_0063"
;
public
static
String
orders16
=
"orders_0
721
"
;
public
static
String
orders16
=
"orders_0
632
"
;
...
...
src/test/java/http/cases/ExchangeTest/兑吧_直充类商品兑换/新Qb_兑换流程测试_ExchangeTest.java
View file @
32d443f2
...
...
@@ -276,9 +276,9 @@ public class 新Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
public
void
Q
币用户
id
篡改测试
()
throws
Exception
{
//商品: lv测试应用77
//uid1:
大富翁app
//uid1:
lv测试应用55
//uid2: lv测试应用88
int
uid1
=
7
084
;
int
uid1
=
7
315
;
int
uid2
=
7292
;
String
actualCredits
=
"3"
;
String
degreeId
=
"3"
;
...
...
@@ -287,7 +287,7 @@ public class 新Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
String
qq
=
"806854056"
;
String
message
=
""
;
//话费兑换,
大富翁
app已上架Q币
//话费兑换,
uid1 -
app已上架Q币
Response
response
=
gawService
.
qbExchange
(
uid1
,
actualCredits
,
degreeId
,
appItemId
,
credits
,
qq
);
response
.
prettyPrint
();
String
orderId
=
response
.
jsonPath
().
getString
(
"data.orderId"
);
...
...
@@ -301,7 +301,7 @@ public class 新Qb_兑换流程测试_ExchangeTest extends CheckTemplet {
logger
.
info
(
"订单积分:"
+
orderCredits
);
Assert
.
assertEquals
(
orderStatus
,
"consume_success"
,
"校验status失败"
);
Assert
.
assertEquals
(
orderappId
,
"1"
,
"校验appId失败"
);
Assert
.
assertEquals
(
orderappId
,
"
2256
1"
,
"校验appId失败"
);
Assert
.
assertEquals
(
orderCredits
,
"300"
,
"校验credits失败"
);
logger
.
info
(
"校验Q币用户id1篡改兑换成功"
);
...
...
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