First runnable tests for Database / Commented out Good/BadCasesTests (not relevant to this branch)
This commit is contained in:
@@ -3,6 +3,8 @@ package hhn.temp.project;
|
||||
import hhn.temp.project.provider.DatabaseManager;
|
||||
import hhn.temp.project.provider.SimpleDatabaseManager;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.DisplayName;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.sql.SQLException;
|
||||
|
||||
@@ -27,6 +29,9 @@ public class DatabaseGoodCasesTest {
|
||||
databaseManager = new SimpleDatabaseManager<>();
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
@DisplayName("Assert connecting to database")
|
||||
public void assertConnectToDatabase() throws SQLException {
|
||||
databaseManager.connect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user