Skip to content

Commit

Permalink
fixing TransportSamlLogoutActionTests
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke committed Dec 4, 2023
1 parent d1c6e19 commit 4f43e4b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ public void setup() throws Exception {
((Runnable) inv.getArguments()[1]).run();
return null;
}).when(securityIndex).prepareIndexIfNeededThenExecute(any(Consumer.class), any(Runnable.class));
doAnswer(inv -> {
((Runnable) inv.getArguments()[1]).run();
((Runnable) inv.getArguments()[2]).run();
return null;
}).when(securityIndex).prepareIndexIfNeededThenExecute(any(Consumer.class), any(Runnable.class), any(Runnable.class));
doAnswer(inv -> {
((Runnable) inv.getArguments()[1]).run();
return null;
Expand Down

0 comments on commit 4f43e4b

Please sign in to comment.