Skip to content

Commit

Permalink
Fix IT.
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Aug 21, 2023
1 parent db3e860 commit 35a13e5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void setUp() throws SQLException {
conn = new JDBCConnection("Test DB", "jdbc:testdb://localhost:12345");
conn.setConnection(connection);

when(connection.createStatement()).thenReturn(statement);
when(connection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY))
.thenReturn(statement);
}
Expand Down

0 comments on commit 35a13e5

Please sign in to comment.