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
8399d051
Commit
8399d051
authored
Dec 03, 2018
by
马博
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mabo' of gitlab2.dui88.com:mabo/test-platform into mabo
parents
bf68fefa
b2574e06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
异常订单测试_ExchangeTest.java
...ava/http/cases/GoodsAndTradeTest/异常订单测试_ExchangeTest.java
+2
-2
种红包配置校验_AccessTest.java
src/test/java/http/cases/WalletTest/种红包配置校验_AccessTest.java
+1
-1
No files found.
src/test/java/http/cases/GoodsAndTradeTest/异常订单测试_ExchangeTest.java
View file @
8399d051
...
@@ -66,9 +66,9 @@ public class 异常订单测试_ExchangeTest extends DuibaTestBase {
...
@@ -66,9 +66,9 @@ public class 异常订单测试_ExchangeTest extends DuibaTestBase {
@Test
(
description
=
"实物兑换无库存"
)
@Test
(
description
=
"实物兑换无库存"
)
public
void
无库存
()
throws
Exception
{
public
void
无库存
()
throws
Exception
{
Response
response
=
mobileService
.
detail
(
authorization
.
dafuwengLogin
(
3661
),
"31051"
);
//uid3661
Response
response
=
mobileService
.
detail
(
authorization
.
dafuwengLogin
(
4819
),
"31051"
);
//uid3661
// response.prettyPrint();
// response.prettyPrint();
Map
<
String
,
String
>
map
=
authorization
.
dafuwengLogin
(
3661
,
true
);
Map
<
String
,
String
>
map
=
authorization
.
dafuwengLogin
(
4819
);
Assert
.
assertEquals
(
String
.
valueOf
(
response
.
getStatusCode
()),
"200"
,
"活动详情页请求异常"
);
Assert
.
assertEquals
(
String
.
valueOf
(
response
.
getStatusCode
()),
"200"
,
"活动详情页请求异常"
);
//实物兑换
//实物兑换
Response
response2
=
couponExchangeService
.
objectExchange2
(
map
,
"179139"
,
"null"
,
"null"
,
"z9sydmcs"
,
"null"
);
Response
response2
=
couponExchangeService
.
objectExchange2
(
map
,
"179139"
,
"null"
,
"null"
,
"z9sydmcs"
,
"null"
);
...
...
src/test/java/http/cases/WalletTest/种红包配置校验_AccessTest.java
View file @
8399d051
...
@@ -83,7 +83,7 @@ public class 种红包配置校验_AccessTest extends DuibaTestBase{
...
@@ -83,7 +83,7 @@ public class 种红包配置校验_AccessTest extends DuibaTestBase{
logger
.
info
(
"种红包的红包配置接口校验正确"
);
logger
.
info
(
"种红包的红包配置接口校验正确"
);
}
}
//
@Test
@Test
public
void
流量策略打开校验
()
throws
Exception
{
public
void
流量策略打开校验
()
throws
Exception
{
//dafuweng登陆获取cookies
//dafuweng登陆获取cookies
Map
cookies
=
authorization
.
dafuwengLogin
(
uid3
);
Map
cookies
=
authorization
.
dafuwengLogin
(
uid3
);
...
...
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