Skip to content

Commit

Permalink
Use quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
zapodot committed Nov 5, 2019
1 parent 7d75493 commit 1d5bcea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class FlywayInitializerIllegalSchemaNameTest {
@Test
public void illegalSchema() throws SQLException {
try (final Statement statement = embeddedDatabaseRule.getConnection().createStatement();
final ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM USER")) {
final ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM \"" + SCHEMA_NAME + "\".USER")) {
assertNotNull(resultSet);
assertTrue(resultSet.next());
}
Expand Down

0 comments on commit 1d5bcea

Please sign in to comment.