Skip to content

Commit

Permalink
db test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
memeeerit committed Nov 28, 2023
1 parent d003381 commit 704e7bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void markGarbageTest() {
@SneakyThrows
public void getUsedRawVulnerabilitiesTest() {
when(mockRS.next()).thenReturn(true, true, false);
when(mockRS.getInt(anyString())).thenReturn(1);
when(mockRS.getInt(anyString())).thenReturn(1,2);
when(mockRS.getString(anyString())).thenReturn("desc");
when(mockRS.getTimestamp(anyString())).thenReturn(new Timestamp(System.currentTimeMillis()));

Expand Down

0 comments on commit 704e7bd

Please sign in to comment.