Integration tests added for adding data to database following block break trigger and all tests passing.
This commit is contained in:
@@ -14,9 +14,9 @@ import java.util.logging.Logger;
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class DatabaseManager {
|
||||
private static final String DB_URL = "jdbc:mysql://localhost:3306/minecraft_stats";
|
||||
private static final String DB_URL = "jdbc:mysql://localhost:3306/partsltd_dev";
|
||||
private static final String DB_USER = "root";
|
||||
private static final String DB_PASS = "password";
|
||||
private static final String DB_PASS = System.getenv("DB_PASSWORD"); // "password";
|
||||
private static final Logger LOGGER = Logger.getLogger(DatabaseManager.class.getName());
|
||||
|
||||
public Connection getConnection() throws SQLException {
|
||||
|
||||
Reference in New Issue
Block a user