Commit f3d2da9f by xuyamei

修改预约规则case

parent 7242d0ed
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment