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
f3d2da9f
Commit
f3d2da9f
authored
Jun 25, 2024
by
xuyamei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改预约规则case
parent
7242d0ed
Hide 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/rules/TestSaveGroupBookingRules.java
+2
-2
No files found.
src/main/java/com/xiaomai/cases/polar/setting/rules/TestSaveGroupBookingRules.java
View file @
f3d2da9f
...
...
@@ -35,8 +35,8 @@ public class TestSaveGroupBookingRules extends BaseTestImpl {
Random
random
=
new
Random
();
int
bookingSeatCount
=
random
.
nextInt
(
10
)+
1
;
// 席位
return
new
Object
[][]{
{
true
,
bookingSeatCount
,
true
,
true
,
random
.
nextInt
(
30
)+
10
,
true
,
random
.
nextInt
(
1000
)+
10
,
random
.
nextInt
(
5
)+
1
,
true
,
random
.
nextInt
(
1000
)+
10
,
"
hour"
,
true
,
random
.
nextInt
(
1000
)+
10
,
"hour
"
},
{
false
,
bookingSeatCount
,
false
,
false
,
random
.
nextInt
(
30
)+
10
,
false
,
random
.
nextInt
(
1000
)+
10
,
random
.
nextInt
(
5
)+
1
,
false
,
random
.
nextInt
(
1000
)+
10
,
"
hour"
,
false
,
random
.
nextInt
(
1000
)+
10
,
"hour
"
},
{
true
,
bookingSeatCount
,
true
,
true
,
random
.
nextInt
(
30
)+
10
,
true
,
random
.
nextInt
(
1000
)+
10
,
random
.
nextInt
(
5
)+
1
,
true
,
random
.
nextInt
(
1000
)+
10
,
"
minutes"
,
true
,
random
.
nextInt
(
1000
)+
10
,
"minutes
"
},
{
false
,
bookingSeatCount
,
false
,
false
,
random
.
nextInt
(
30
)+
10
,
false
,
random
.
nextInt
(
1000
)+
10
,
random
.
nextInt
(
5
)+
1
,
false
,
random
.
nextInt
(
1000
)+
10
,
"
minutes"
,
false
,
random
.
nextInt
(
1000
)+
10
,
"minutes
"
},
};
}
@Test
(
dataProvider
=
"dataProvider"
)
...
...
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