package server.database;

import org.junit.jupiter.api.Test;

import java.sql.SQLException;

import static org.junit.jupiter.api.Assertions.fail;

class DatabaseConnectionTest {
    private static final String dbConnectionUrl = "jdbc:mysql://the-terminal-db-instance.c8lixxetvm6e.us-west-2.rds.amazonaws.com:3306/coast_capital_db";
    private static final String dbUsername = "Administrator";
    private static final String dbPassword = "TheTerminal!";
    @Test
    void databaseConnection(){
        try {
            DatabaseConnection dbConnection = new DatabaseConnection(dbConnectionUrl, dbUsername, dbPassword);
        } catch(SQLException e) {
            fail("Db connection failed: " + e.getMessage());
        }
    }
}
@@ -614,16 +614,59 @@
 sword);%0A
+            dbConnection.openConnection();%0A
         

Update Database Connection test