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
2b740eea
Commit
2b740eea
authored
Jul 22, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新好运红包用例
parent
e6663127
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Lottery.java
src/test/java/com/kjj/cases/live/lottery/Lottery.java
+2
-3
No files found.
src/test/java/com/kjj/cases/live/lottery/Lottery.java
View file @
2b740eea
...
...
@@ -404,6 +404,7 @@ public class Lottery implements Authorization {
@Test
(
description
=
"访客B参与记录"
,
priority
=
30
)
public
void
访客
B
参与记录
()
{
visitorAuth13
();
ThreadSleepUtils
.
sleep
(
3000
);
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
Params
.
put
(
"shareUserId"
,
"Kj20ODYz"
);
...
...
@@ -421,6 +422,7 @@ public class Lottery implements Authorization {
@Test
(
description
=
"访客A获取好运红包领取记录"
,
priority
=
31
)
public
void
访客
A
获取好运红包领取记录
()
{
visitorAuth13
();
ThreadSleepUtils
.
sleep
(
500
);
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
Params
.
put
(
"shareUserId"
,
"Kj20ODYz"
);
...
...
@@ -433,12 +435,9 @@ public class Lottery implements Authorization {
int
amount
=
response
.
jsonPath
().
getJsonObject
(
"data.amount"
);
Assert
.
assertTrue
(
amount
==
30
,
network
.
message
(
Params
,
BasicConfig
.
MOBILE_joinRecord
,
"领取金额为null"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"访客A抽奖券列表"
,
priority
=
32
)
public
void
访客
A
抽奖券列表
()
{
visitorAuth
();
...
...
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