Skip to content

Commit

Permalink
Fix tests after dependency upgrades.
Browse files Browse the repository at this point in the history
See #1541
  • Loading branch information
mp911de committed Jul 4, 2023
1 parent f3f34e5 commit 56ec491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public SqlParameterSource extractParameterSource() {
query.execute(arguments);

ArgumentCaptor<SqlParameterSource> captor = ArgumentCaptor.forClass(SqlParameterSource.class);
verify(operations).query(anyString(), captor.capture(), any(ResultSetExtractor.class));
verify(operations).queryForObject(anyString(), captor.capture(), any(RowMapper.class));

return captor.getValue();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ void setup() {

doReturn(NumberFormat.class).when(metadata).getReturnedDomainClass(any(Method.class));
doReturn(TypeInformation.of(NumberFormat.class)).when(metadata).getReturnType(any(Method.class));
doReturn(TypeInformation.of(NumberFormat.class)).when(metadata).getDomainTypeInformation();
}

@Test // DATAJDBC-166
Expand Down

0 comments on commit 56ec491

Please # to comment.