Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-sportstest
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-sportstest
Commits
6b6c0623
Commit
6b6c0623
authored
Jul 02, 2024
by
yangfangfang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单、收支、支付方式
parent
6c253b3a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/xiaomai/cases/polar/setting/pay/TestUpdate.java
+2
-2
No files found.
src/main/java/com/xiaomai/cases/polar/setting/pay/TestUpdate.java
View file @
6b6c0623
...
@@ -31,7 +31,6 @@ public class TestUpdate extends XMBaseTest {
...
@@ -31,7 +31,6 @@ public class TestUpdate extends XMBaseTest {
@Test
(
description
=
"修改通用配置支付方式-关闭/开启"
)
@Test
(
description
=
"修改通用配置支付方式-关闭/开启"
)
public
void
testUpdate
(){
public
void
testUpdate
(){
//修改默认支付方式
//修改默认支付方式
String
getListStatus
=
payTools
.
getList
().
getJSONArray
(
"result"
).
getJSONObject
(
1
).
getString
(
"status"
);
String
getListStatus
=
payTools
.
getList
().
getJSONArray
(
"result"
).
getJSONObject
(
1
).
getString
(
"status"
);
...
@@ -46,7 +45,9 @@ public class TestUpdate extends XMBaseTest {
...
@@ -46,7 +45,9 @@ public class TestUpdate extends XMBaseTest {
}
}
//修改自定义方式
//修改自定义方式
JSONObject
saveResult
=
payTools
.
save
(
"被修改自动化支付方式"
);
JSONObject
saveResult
=
payTools
.
save
(
"被修改自动化支付方式"
);
String
saveId
=
saveResult
.
getString
(
"result"
);
String
saveId
=
saveResult
.
getString
(
"result"
);
...
@@ -80,7 +81,6 @@ public class TestUpdate extends XMBaseTest {
...
@@ -80,7 +81,6 @@ public class TestUpdate extends XMBaseTest {
ON
.
put
(
"operatorId"
,
xmAppApi
.
getLoginInfo
().
getAdminId
());
ON
.
put
(
"operatorId"
,
xmAppApi
.
getLoginInfo
().
getAdminId
());
try
{
try
{
Thread
.
sleep
(
1000
);
Thread
.
sleep
(
1000
);
}
catch
(
InterruptedException
e
)
{
}
catch
(
InterruptedException
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