#1321 Fixed a test

This commit is contained in:
Ashish Trivedi 2020-07-26 18:34:42 +05:30
parent 9d191324ff
commit 4017c37b6f

View File

@ -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);
}
}