mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 05:20:09 +00:00
#1321 Fixed a test
This commit is contained in:
1 parent
9d191324ff
commit
4017c37b6f
1 file changed
+1
+1
@@ -57,6 +57,7 @@ public class HotelDaoImplTest {
|
||||
public void createSchema() throws SQLException {
|
||||
try (var connection = DriverManager.getConnection(DB_URL);
|
||||
var statement = connection.createStatement()) {
|
||||
statement.execute(RoomSchemaSql.DELETE_SCHEMA_SQL);
|
||||
statement.execute(RoomSchemaSql.CREATE_SCHEMA_SQL);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user