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
feeff133
Commit
feeff133
authored
Dec 22, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复猜数字红包解析实体类列表报错问题
parent
892dc44f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
SaveLive.java
src/test/java/com/kjj/cases/live/liveConfig/SaveLive.java
+1
-1
GoldenEgg.java
src/test/java/com/kjj/cases/live/treasure/GoldenEgg.java
+1
-0
No files found.
src/test/java/com/kjj/cases/live/liveConfig/SaveLive.java
View file @
feeff133
...
@@ -739,7 +739,7 @@ public class SaveLive implements Authorization {
...
@@ -739,7 +739,7 @@ public class SaveLive implements Authorization {
Map
<
String
,
Object
>
listParam
=
new
HashMap
<>();
Map
<
String
,
Object
>
listParam
=
new
HashMap
<>();
listParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
listParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Response
response
=
network
.
getResponse
(
listParam
,
BasicConfig
.
MANAGER_list_1
);
Response
response
=
network
.
getResponse
(
listParam
,
BasicConfig
.
MANAGER_list_1
);
List
<
GuessList
>
list
=
JsonUtil
.
parseResponse
ToListBean
(
response
,
GuessList
.
class
);
List
<
GuessList
>
list
=
JsonUtil
.
parseResponse
PathToListBean
(
response
,
"data.list"
,
GuessList
.
class
);
System
.
out
.
println
(
list
);
System
.
out
.
println
(
list
);
this
.
confId
=
list
;
this
.
confId
=
list
;
Assert
.
assertNotNull
(
list
,
network
.
message
(
listParam
,
BasicConfig
.
MANAGER_list_1
,
"查询猜数字红包列表失败"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
list
,
network
.
message
(
listParam
,
BasicConfig
.
MANAGER_list_1
,
"查询猜数字红包列表失败"
,
response
.
body
().
asString
()));
...
...
src/test/java/com/kjj/cases/live/treasure/GoldenEgg.java
View file @
feeff133
...
@@ -266,6 +266,7 @@ public class GoldenEgg implements Authorization {
...
@@ -266,6 +266,7 @@ public class GoldenEgg implements Authorization {
@Test
(
description
=
"第3个访客C砸金蛋砸出实物"
,
priority
=
13
)
@Test
(
description
=
"第3个访客C砸金蛋砸出实物"
,
priority
=
13
)
public
void
第
3
个访客
C
砸金蛋砸出实物
()
{
public
void
第
3
个访客
C
砸金蛋砸出实物
()
{
visitorAuth3
();
visitorAuth3
();
sleep
(
2000
);
Map
<
String
,
Object
>
chooseAwardParam
=
new
HashMap
<>();
Map
<
String
,
Object
>
chooseAwardParam
=
new
HashMap
<>();
chooseAwardParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
chooseAwardParam
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
chooseAwardParam
.
put
(
"treasureConfId"
,
ConfId
);
chooseAwardParam
.
put
(
"treasureConfId"
,
ConfId
);
...
...
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