Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
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
龚小红
oto
Commits
d39235ba
Commit
d39235ba
authored
Oct 20, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改抽奖码数量校验、修复转盘抽奖的不能中奖的类型包含:1、2、4
parent
057d0809
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
GameLottery.java
...java/com/kjj/cases/assistant/markettools/GameLottery.java
+1
-1
No files found.
src/test/java/com/kjj/cases/assistant/markettools/GameLottery.java
View file @
d39235ba
...
@@ -588,7 +588,7 @@ public class GameLottery implements Authorization {
...
@@ -588,7 +588,7 @@ public class GameLottery implements Authorization {
int
state
=
response
.
jsonPath
().
getInt
(
"data.state"
);
int
state
=
response
.
jsonPath
().
getInt
(
"data.state"
);
int
prizeType
=
response
.
jsonPath
().
getInt
(
"data.prizeType"
);
int
prizeType
=
response
.
jsonPath
().
getInt
(
"data.prizeType"
);
Assert
.
assertTrue
(
state
==
2
,
network
.
message
(
params
,
LOTTERRY_getOrderStatus
,
"订单出奖状态错误"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
state
==
2
,
network
.
message
(
params
,
LOTTERRY_getOrderStatus
,
"订单出奖状态错误"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
prizeType
==
1
||
prizeType
==
2
,
network
.
message
(
params
,
LOTTERRY_getOrderStatus
,
"抽奖结果错误"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
prizeType
==
1
||
prizeType
==
2
||
prizeType
==
4
,
network
.
message
(
params
,
LOTTERRY_getOrderStatus
,
"抽奖结果错误"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"代理人_查询发起抽奖列表"
,
priority
=
22
)
@Test
(
description
=
"代理人_查询发起抽奖列表"
,
priority
=
22
)
...
...
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