From fa1ed57a5a485b1b8bd779daab3c9cb17815a26b Mon Sep 17 00:00:00 2001 From: Stanimir Stoyanov Date: Wed, 5 Feb 2025 21:18:14 +0200 Subject: [PATCH] tes: fix test Signed-off-by: Stanimir Stoyanov --- .../impl/test/exec/systemcontracts/HtsSystemContractTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hedera-node/hedera-smart-contract-service-impl/src/test/java/com/hedera/node/app/service/contract/impl/test/exec/systemcontracts/HtsSystemContractTest.java b/hedera-node/hedera-smart-contract-service-impl/src/test/java/com/hedera/node/app/service/contract/impl/test/exec/systemcontracts/HtsSystemContractTest.java index 76eeaa766f65..62e3e141e1d7 100644 --- a/hedera-node/hedera-smart-contract-service-impl/src/test/java/com/hedera/node/app/service/contract/impl/test/exec/systemcontracts/HtsSystemContractTest.java +++ b/hedera-node/hedera-smart-contract-service-impl/src/test/java/com/hedera/node/app/service/contract/impl/test/exec/systemcontracts/HtsSystemContractTest.java @@ -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);