diff --git a/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java b/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java index a556798..9671ec2 100644 --- a/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java +++ b/src/test/java/com/insigma/service/impl/LinuxTongWebKingBaseTest.java @@ -16,13 +16,13 @@ import static org.junit.jupiter.api.Assertions.*; public class LinuxTongWebKingBaseTest { static { - DbUtil.url = ""; - DbUtil.usr = ""; - DbUtil.pwd = ""; - AppCfg.DB = ""; - AppCfg.MW = ""; - AppCfg.HZB = ""; - AppCfg.BROWSER = ""; + DbUtil.url = "jdbc:mysql://127.0.0.1:35017/hy_qggwy"; + DbUtil.usr = "root"; + DbUtil.pwd = "admin"; + AppCfg.DB = "GWY20_Mysql"; + AppCfg.MW = "GWY20_Tomcat"; + AppCfg.HZB = "D:/hzb2021"; + AppCfg.BROWSER = "360se.exe"; } private LinuxTongWebKingBase linuxTongWebKingBase = new LinuxTongWebKingBase(); diff --git a/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java b/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java index 5f5c6b3..4e040c0 100644 --- a/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java +++ b/src/test/java/com/insigma/service/impl/WindowsTomcatMysqlTest.java @@ -13,13 +13,13 @@ import static org.junit.jupiter.api.Assertions.assertTrue; public class WindowsTomcatMysqlTest { static { - DbUtil.url = ""; - DbUtil.usr = ""; - DbUtil.pwd = ""; - AppCfg.DB = ""; - AppCfg.MW = ""; - AppCfg.HZB = ""; - AppCfg.BROWSER = ""; + DbUtil.url = "jdbc:mysql://127.0.0.1:35017/hy_qggwy"; + DbUtil.usr = "root"; + DbUtil.pwd = "admin"; + AppCfg.DB = "GWY20_Mysql"; + AppCfg.MW = "GWY20_Tomcat"; + AppCfg.HZB = "D:/hzb2021"; + AppCfg.BROWSER = "360se.exe"; } WindowsTomcatMysql windowsTomcatMysql = new WindowsTomcatMysql();