From 38538b9e57d2fc54cea4d34d907924f45e3c8ebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Costin=20Caraba=C8=99?= Date: Thu, 12 Dec 2024 23:56:00 +0200 Subject: [PATCH] multisig: Fix unit tests --- ..._to_multiversx_relayer_call_data_several_tx_test.scen.json | 4 ++-- .../ethereum_to_multiversx_relayer_query2_test.scen.json | 4 ++-- multisig/tests/multisig_blackbox_test.rs | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/multisig/scenarios/ethereum_to_multiversx_relayer_call_data_several_tx_test.scen.json b/multisig/scenarios/ethereum_to_multiversx_relayer_call_data_several_tx_test.scen.json index be6db6b8..e5305f1a 100644 --- a/multisig/scenarios/ethereum_to_multiversx_relayer_call_data_several_tx_test.scen.json +++ b/multisig/scenarios/ethereum_to_multiversx_relayer_call_data_several_tx_test.scen.json @@ -386,8 +386,8 @@ "gasLimit": "5,000,000" }, "expect": { - "status": "4", - "message": "str:Invalid token or amount" + "out": [], + "status": "0" } } ] diff --git a/multisig/scenarios/ethereum_to_multiversx_relayer_query2_test.scen.json b/multisig/scenarios/ethereum_to_multiversx_relayer_query2_test.scen.json index 2ded2f90..7434eed1 100644 --- a/multisig/scenarios/ethereum_to_multiversx_relayer_query2_test.scen.json +++ b/multisig/scenarios/ethereum_to_multiversx_relayer_query2_test.scen.json @@ -414,8 +414,8 @@ "gasLimit": "5,000,000" }, "expect": { - "status": "4", - "message": "str:Invalid token or amount" + "out": [], + "status": "0" } } ] diff --git a/multisig/tests/multisig_blackbox_test.rs b/multisig/tests/multisig_blackbox_test.rs index 26588718..36849c9a 100644 --- a/multisig/tests/multisig_blackbox_test.rs +++ b/multisig/tests/multisig_blackbox_test.rs @@ -704,7 +704,6 @@ fn ethereum_to_multiversx_relayer_call_data_several_tx_test() { .to(MULTISIG_ADDRESS) .typed(multisig_proxy::MultisigProxy) .perform_action_endpoint(1usize) - .returns(ExpectError(4, "Invalid token or amount")) .run(); state.world.write_scenario_trace( @@ -866,7 +865,6 @@ fn ethereum_to_multiversx_relayer_query2_test() { .to(MULTISIG_ADDRESS) .typed(multisig_proxy::MultisigProxy) .perform_action_endpoint(1usize) - .returns(ExpectError(4, "Invalid token or amount")) .run(); state