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
6bf144cd
Commit
6bf144cd
authored
Oct 31, 2018
by
周松波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
66e00698
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ContractSign_signTest.java
src/test/java/http/cases/SignTest/ContractSign_signTest.java
+4
-2
No files found.
src/test/java/http/cases/SignTest/ContractSign_signTest.java
View file @
6bf144cd
...
...
@@ -59,7 +59,7 @@ public class ContractSign_signTest extends DuibaTestBase {
// }
@Test
(
description
=
"截止报名测试, 活动ID=3"
,
priority
=
10
)
//
@Test(description = "截止报名测试, 活动ID=3", priority = 10)
public
void
截止报名测试
()
throws
Exception
{
Map
<
String
,
String
>
map
=
new
HashMap
<>();
...
...
@@ -271,9 +271,11 @@ public class ContractSign_signTest extends DuibaTestBase {
map
.
put
(
"openStatus"
,
"true"
);
map
.
put
(
"gradientAmountList"
,
""
);
map
.
put
(
"freeJoinLimit"
,
"0"
);
map
.
put
(
"enableAmpifyCard"
,
"false"
);
map
.
put
(
"openType"
,
"0"
);
logger
.
info
(
"请求save接口"
);
Response
response
=
given
().
contentType
(
"application/
x-www-form-urlencoded;charset=UTF-8
"
).
cookies
(
authorization
.
ssoLogin
()).
params
(
map
).
post
(
"https://mng.duibatest.com.cn/newmanager/signContract/save"
);
Response
response
=
given
().
contentType
(
"application/
json
"
).
cookies
(
authorization
.
ssoLogin
()).
params
(
map
).
post
(
"https://mng.duibatest.com.cn/newmanager/signContract/save"
);
try
{
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"success"
),
"true"
,
"/signContract/save接口失败"
);
}
catch
(
Exception
e
)
{
...
...
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