@@ -144,19 +143,19 @@ public class pk_开奖_瓜分红包测试 extends DuibaTestBase {
...
@@ -144,19 +143,19 @@ public class pk_开奖_瓜分红包测试 extends DuibaTestBase {
//
//
// }
// }
@AfterMethod
publicvoidtearDown(){
@AfterClass
publicvoidtearDown(){
try{
try{
// if (!newBetId.equals("")){
// Boolean res1 = jdbc.update("delete from act_com_conf.tb_bet_config where id = ?\n",newBetId);
// Boolean res2 = jdbc.update("delete from act_com_conf.tb_bet_group_relation where bet_id = ?\n",newBetId);
// }
Booleanres3=jdbc.update("delete from act_com_conf.tb_bet_group_relation where bet_id in (select id from act_com_conf.tb_bet_config where title = \"【自动化】新建pk活动-瓜分红包\")\n");
Booleanresult2=jdbc.update("delete from act_com_conf.tb_bet_group_relation where bet_id in (select id from act_com_conf.tb_bet_config where title = '【自动化】新建pk活动-瓜分红包')");
Booleanres4=jdbc.update("delete from act_com_conf.tb_bet_config where title = \"【自动化】新建pk活动-瓜分红包\"\n");
Booleanresult3=jdbc.update("delete from act_com_conf.tb_bet_config where title = '【自动化】新建pk活动-瓜分红包'");
@@ -220,6 +220,10 @@ public class pk_管理端测试_AccessTest extends DuibaTestBase {
...
@@ -220,6 +220,10 @@ public class pk_管理端测试_AccessTest extends DuibaTestBase {
Booleanresult4=jdbc.update("delete from act_com_conf.tb_app_group_relation where group_id in (select id from act_com_conf.tb_bet_act_group where title = '【勿动】增pk组投放')");
Booleanresult4=jdbc.update("delete from act_com_conf.tb_app_group_relation where group_id in (select id from act_com_conf.tb_bet_act_group where title = '【勿动】增pk组投放')");
Booleanresult5=jdbc.update("delete from act_com_conf.tb_bet_act_group where title = '【勿动】增pk组投放'");
Booleanresult5=jdbc.update("delete from act_com_conf.tb_bet_act_group where title = '【勿动】增pk组投放'");
Booleanresult6=jdbc.update("delete from act_com_conf.tb_bet_group_relation where bet_id in (select id from act_com_conf.tb_bet_config where title = '【自动化】新建pk活动-瓜分红包')");
Booleanresult7=jdbc.update("delete from act_com_conf.tb_bet_config where title = '【自动化】新建pk活动-瓜分红包'");