Skip to content

Commit

Permalink
fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Jan 2, 2024
1 parent 921c4f2 commit 3932845
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,7 @@ void shouldReturnTrueWhenColumnIsCaseSensitiveAndFalseOtherwise() throws SQLExce

@Test
void isReadOnly() throws SQLException {
FireboltResultSetMetaData fireboltResultSetMetaData = FireboltResultSetMetaData.builder().columns(getColumns())
.tableName("table-name").dbName("db-name").build();
assertTrue(fireboltResultSetMetaData.isReadOnly(1));
assertTrue(getMetaData().isReadOnly(1));
}

@Test
Expand All @@ -121,6 +119,6 @@ private List<Column> getColumns() {
}

private FireboltResultSetMetaData getMetaData() {
return FireboltResultSetMetaData.builder().columns(getColumns()).tableName("table-name").dbName("db-name").build();
return new FireboltResultSetMetaData(getColumns(), "table-name", "db-name");
}
}

0 comments on commit 3932845

Please sign in to comment.