Skip to content

Commit

Permalink
Fix the test because of anyString()
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Oct 11, 2023
1 parent 156b808 commit 40fdd33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ public void testGarbageCollectAsync() throws Exception {
ResultSet mockResultSet = mock(ResultSet.class);
Row mockRow = mock(Row.class);

when(context.cqlService.executePreparedStatement(any(), anyString(), any(), any(), any()))
when(context.cqlService.executePreparedStatement(any(), anyString()))
.thenReturn(mockResultSet);

when(mockResultSet.one()).thenReturn(mockRow);
Expand Down

0 comments on commit 40fdd33

Please sign in to comment.