Skip to content

Commit

Permalink
tes: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Stanimir Stoyanov <[email protected]>
  • Loading branch information
stoyanov-st committed Feb 5, 2025
1 parent e3686c4 commit fa1ed57
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ void testComputeFullyWithHandleExceptionFromSystemContract() {
frameUtils
.when(() -> callTypeOf(frame, EntityType.TOKEN))
.thenReturn(FrameUtils.CallType.DIRECT_OR_PROXY_REDIRECT);
frameUtils.when(() -> contractsConfigOf(frame)).thenReturn(DEFAULT_CONTRACTS_CONFIG);
given(attempt.asExecutableCall()).willThrow(new HandleException(CONTRACT_REVERT_EXECUTED));
final var expected = revertResult(CONTRACT_REVERT_EXECUTED, frame.getRemainingGas());
final var result = subject.computeFully(HTS_167_CONTRACT_ID, validInput, frame);
Expand Down

0 comments on commit fa1ed57

Please sign in to comment.