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
24add55c
Commit
24add55c
authored
Nov 03, 2018
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
535464a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
活动优惠券.xls
data/duiba/活动优惠券.xls
+0
-0
ManagerService.java
src/test/java/http/service/Activity/ManagerService.java
+1
-1
No files found.
data/duiba/活动优惠券.xls
View file @
24add55c
No preview for this file type
src/test/java/http/service/Activity/ManagerService.java
View file @
24add55c
...
...
@@ -834,7 +834,7 @@ public class ManagerService {
map
.
put
(
"expressId"
,
"123123213213"
);
map
.
put
(
"expressName"
,
"圆通速递"
);
map
.
put
(
"orderId"
,
orderId
);
Response
response
=
given
().
contentType
(
"application/x-www-form-urlencoded;charset=UTF-8"
).
cookies
(
authorization
.
ssoLogin
()).
params
(
map
).
post
(
"http
://"
+
url
);
Response
response
=
given
().
relaxedHTTPSValidation
().
contentType
(
"application/x-www-form-urlencoded;charset=UTF-8"
).
cookies
(
authorization
.
ssoLogin
()).
params
(
map
).
post
(
"https
://"
+
url
);
try
{
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"success"
),
"true"
);
}
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