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
fb694770
Commit
fb694770
authored
May 24, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
bb08ce6e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
种红包新用户_AccessTest.java
src/test/java/http/cases/WalletTest/种红包新用户_AccessTest.java
+1
-1
EditManagerInfoService.java
...est/java/http/service/Manager/EditManagerInfoService.java
+2
-2
SupplierExchangeTemplateService.java
...ava/http/service/app/SupplierExchangeTemplateService.java
+1
-1
MoblieLogin.java
src/test/java/ui/service/MoblieLogin.java
+1
-1
No files found.
src/test/java/http/cases/WalletTest/种红包新用户_AccessTest.java
View file @
fb694770
...
...
@@ -142,7 +142,7 @@ public class 种红包新用户_AccessTest extends DuibaTestBase{
Response
response
=
editManagerInfoService
.
createUser
(
"种红包新用户"
,
"68"
);
Map
<
String
,
Object
>
user
=
jdbc
.
findSimpleResult
(
"select * from dafuweng.user where name = '种红包新用户' and app_id = '68'"
);
uid
=
Integer
.
valueOf
(
user
.
get
(
"id"
).
toString
());
String
url
=
"http://dafuweng.dui
batest.com.cn
/user/loginDuiba?uid="
+
uid
;
String
url
=
"http://dafuweng.dui
88.com
/user/loginDuiba?uid="
+
uid
;
Response
login
=
given
().
get
(
url
);
Map
<
String
,
Object
>
consumer
=
jdbc
.
findSimpleResult
(
"select * from new_consumer.consumer_0010 where partner_user_id =? and app_id = '19380'"
,
uid
);
consumerId
=
consumer
.
get
(
"id"
).
toString
();
...
...
src/test/java/http/service/Manager/EditManagerInfoService.java
View file @
fb694770
...
...
@@ -449,7 +449,7 @@ public class EditManagerInfoService {
public
Response
createUser
(
String
name
){
String
url
=
"http://dafuweng.dui
batest.com.cn
"
+
"/user/create"
;
String
url
=
"http://dafuweng.dui
88.com
"
+
"/user/create"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"appId"
,
"67"
);
map
.
put
(
"name"
,
name
);
...
...
@@ -464,7 +464,7 @@ public class EditManagerInfoService {
public
Response
createUser
(
String
name
,
String
appId
){
String
url
=
"http://dafuweng.dui
batest.com.cn
"
+
"/user/create"
;
String
url
=
"http://dafuweng.dui
88.com
"
+
"/user/create"
;
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"appId"
,
appId
);
map
.
put
(
"name"
,
name
);
...
...
src/test/java/http/service/app/SupplierExchangeTemplateService.java
View file @
fb694770
...
...
@@ -13,7 +13,7 @@ import static io.restassured.RestAssured.given;
*/
@Service
public
class
SupplierExchangeTemplateService
{
private
String
dafuwengHost
=
"dafuweng.dui
batest.com.cn
"
;
private
String
dafuwengHost
=
"dafuweng.dui
88.com
"
;
public
Response
use
(
String
id
){
String
url
=
"http://"
+
dafuwengHost
+
"/supplierExchangeTemplate/use"
;
...
...
src/test/java/ui/service/MoblieLogin.java
View file @
fb694770
...
...
@@ -10,7 +10,7 @@ import static java.lang.Thread.sleep;
* Created by mabo on 2018/12/17
*/
public
class
MoblieLogin
{
private
String
dafuwengUrl
=
"http://dafuweng.dui
batest.com.cn
/user/index"
;
private
String
dafuwengUrl
=
"http://dafuweng.dui
88.com
/user/index"
;
public
MoblieLogin
(
String
uid
,
DuibaBaseUi
father
)
throws
Exception
{
open
(
dafuwengUrl
);
father
.
clickByTextEqual
(
uid
);
...
...
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