#1321 Fixed a test
This commit is contained in:
parent
9d191324ff
commit
4017c37b6f
@ -57,6 +57,7 @@ public class HotelDaoImplTest {
|
|||||||
public void createSchema() throws SQLException {
|
public void createSchema() throws SQLException {
|
||||||
try (var connection = DriverManager.getConnection(DB_URL);
|
try (var connection = DriverManager.getConnection(DB_URL);
|
||||||
var statement = connection.createStatement()) {
|
var statement = connection.createStatement()) {
|
||||||
|
statement.execute(RoomSchemaSql.DELETE_SCHEMA_SQL);
|
||||||
statement.execute(RoomSchemaSql.CREATE_SCHEMA_SQL);
|
statement.execute(RoomSchemaSql.CREATE_SCHEMA_SQL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user