Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-sportstest
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-sportstest
Commits
e698cf79
Commit
e698cf79
authored
Jul 30, 2025
by
yangfangfang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决报错
parent
cfc64efd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/xiaomai/cases/polar/entry/TestScan.java
+2
-2
No files found.
src/main/java/com/xiaomai/cases/polar/entry/TestScan.java
View file @
e698cf79
...
...
@@ -41,7 +41,7 @@ public class TestScan extends XMBaseTest {
xmAppApi
.
doRequest
(
RequestType
.
JSON
,
params
,
object
.
toString
(),
headers
).
assetsSuccess
(
true
);
Assert
.
assertEquals
(
XMJSONPath
.
readPath
(
xmAppApi
.
getBodyInJSON
(),
"$.result.memberId"
),
"1805435813468483586"
);
String
id
=
XMJSONPath
.
readPath
(
xmAppApi
.
getBodyInJSON
(),
"$.result.id"
);
Assert
.
assertEquals
(
entryTool
.
memberEntryPage
(
"MEMBER"
).
getJSONObject
(
"result"
).
getJSONArray
(
"records"
).
getJSONObject
(
0
).
getString
(
"id"
),
id
);
...
...
@@ -49,7 +49,7 @@ public class TestScan extends XMBaseTest {
Assert
.
assertEquals
(
res
.
getString
(
"memberId"
),
"1805435813468483586"
);
Assert
.
assertEquals
(
res
.
getString
(
"entryType"
),
"MEMBER"
);
Assert
.
assertEquals
(
res
.
getString
(
"entryMethod"
),
"CODE"
);
Assert
.
assertEquals
(
res
.
getString
(
"entryVoucherType"
),
"
RESERVE"
);
Assert
.
assertEquals
(
res
.
getString
(
"entryVoucherType"
),
"
VENUE_BOOKING"
);
//原本是RESERVE,后面改成了 VENUE_BOOKING
}
}
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