Skip to content

Commit

Permalink
Fixes test
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp committed Nov 25, 2024
1 parent 270751a commit 9b4e87e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ void testRunAsLeader() throws Exception {
.isEqualTo(serviceRunAsLeaderFuture);
assertThat(componentIdRef).hasValue(DEFAULT_TEST_COMPONENT_ID);
assertThat(leaderSessionIDRef).hasValue(expectedLeaderSessionID);
assertThat(callbackRef).as("The callback wasn't altered.").isSameAs(actualCallback);
assertThat(callbackRef.get())
.as("The callback wasn't altered.")
.isSameAs(actualCallback);
}
}

Expand Down

0 comments on commit 9b4e87e

Please sign in to comment.