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
4da13022
Commit
4da13022
authored
May 28, 2020
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
e1d18ccf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
瓜分积分_实际瓜分_AccessTest.java
...st/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_AccessTest.java
+1
-1
瓜分积分_实际瓜分_主胜方_AccessTest.java
...ava/http/cases/PkMoudleTest/瓜分积分_实际瓜分_主胜方_AccessTest.java
+1
-1
自有单品抽奖_AccessTest.java
.../java/http/cases/SingleLotteryTest/自有单品抽奖_AccessTest.java
+2
-2
No files found.
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_AccessTest.java
View file @
4da13022
...
...
@@ -241,7 +241,7 @@ public class 瓜分积分_实际瓜分_AccessTest extends DuibaTestBase {
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.betId"
),
betId
,
"活动id校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.optionId"
),
optionId1
,
"活动id校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.bonus"
),
"0.01"
,
"活动id校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.exchangeStatus"
),
"
1
"
,
"兑换状态校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.exchangeStatus"
),
"
2
"
,
"兑换状态校验失败"
);
response
=
pkService
.
list
(
uid3
);
response
.
prettyPrint
();
...
...
src/test/java/http/cases/PkMoudleTest/瓜分积分_实际瓜分_主胜方_AccessTest.java
View file @
4da13022
...
...
@@ -245,7 +245,7 @@ public class 瓜分积分_实际瓜分_主胜方_AccessTest extends DuibaTestBas
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.betId"
),
betId
,
"活动id校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.optionId"
),
optionId2
,
"活动id校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.bonus"
),
"0.06"
,
"活动id校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.exchangeStatus"
),
"
1
"
,
"兑换状态校验失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.list[0].record.exchangeStatus"
),
"
2
"
,
"兑换状态校验失败"
);
response
=
pkService
.
list
(
uid1
);
response
.
prettyPrint
();
...
...
src/test/java/http/cases/SingleLotteryTest/自有单品抽奖_AccessTest.java
View file @
4da13022
...
...
@@ -77,9 +77,9 @@ public class 自有单品抽奖_AccessTest extends DuibaTestBase {
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"showUse"
),
"true"
,
"校验是否展示马上使用失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"useBtnText"
),
"马上使用"
,
"校验按钮文案展示失败"
);
if
(
device
.
equals
(
"iOS"
))
{
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"iosDownloadUrl"
),
"www.baidu.com"
,
"校验Url失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"iosDownloadUrl"
),
"
http://
www.baidu.com"
,
"校验Url失败"
);
}
else
{
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"androidDownloadUrl"
),
"www.baidu.com"
,
"校验Url失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"androidDownloadUrl"
),
"
http://
www.baidu.com"
,
"校验Url失败"
);
}
logger
.
info
(
"校验链接券码项:openUrl,useBtnText成功"
);
break
;
...
...
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