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
fdecc52f
Commit
fdecc52f
authored
Oct 10, 2019
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
7901166a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
新集卡_助力发集卡_DuibaTest.java
...ttp/cases/NewCollectActivityTest/新集卡_助力发集卡_DuibaTest.java
+13
-1
No files found.
src/test/java/http/cases/NewCollectActivityTest/新集卡_助力发集卡_DuibaTest.java
View file @
fdecc52f
...
...
@@ -18,6 +18,7 @@ import http.service.Manager.EditManagerInfoService;
import
io.restassured.response.Response
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.testng.Assert
;
import
org.testng.annotations.BeforeClass
;
import
org.testng.annotations.Test
;
import
utils.GetCookieUtil
;
...
...
@@ -43,9 +44,17 @@ public class 新集卡_助力发集卡_DuibaTest extends DuibaTestBase {
@Autowired
EditManagerInfoService
editManagerInfoService
;
private
static
DuibaLog
logger
=
DuibaLog
.
getLogger
();
@BeforeClass
public
void
beforeclass
()
{
try
{
this
.
clear2
();
}
catch
(
Exception
e
)
{
logger
.
info
(
"数据前后置操作异常"
);
}
}
private
static
DuibaLog
logger
=
DuibaLog
.
getLogger
();
@Test
public
void
助力
_
发集卡
()
throws
Exception
{
...
...
@@ -258,6 +267,9 @@ public class 新集卡_助力发集卡_DuibaTest extends DuibaTestBase {
Boolean
res1
=
jdbc
.
update
(
"delete from new_consumer.consumer_0010 where id = ?"
,
comsumerId
);
}
public
void
clear2
()
throws
Exception
{
Boolean
res
=
jdbc
.
update
(
"delete from dafuweng.user where name = '新用户助力' and app_id = '57'"
);
}
public
String
getDbName
(
String
dbPrex
,
String
consumerId
)
{
...
...
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