Skip to content

Commit

Permalink
Fix CI Test
Browse files Browse the repository at this point in the history
  • Loading branch information
nbauernfeind committed Jan 10, 2024
1 parent 74363be commit 5966196
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,10 @@ public Object invoke(Invocation invocation) {

errorNotification.reset();
final ControlledUpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph().cast();
updateGraph.runWithinUnitTestCycle(SUT::refresh);
updateGraph.runWithinUnitTestCycle(() -> {
SUT.refresh();
updateGraph.markSourcesRefreshedForUnitTests();
}, false);
assertIsSatisfied();
errorNotification.assertInvoked();

Expand Down

0 comments on commit 5966196

Please sign in to comment.