From 0db5b73ea08fc40669943c398e75a9755ae75a73 Mon Sep 17 00:00:00 2001 From: Snobbish Bee <125891987+snobbee@users.noreply.github.com> Date: Tue, 14 Nov 2023 11:36:24 +0100 Subject: [PATCH] test: fix integration tests --- test/integration/src/py/test_new_currency_transfers.py | 3 ++- test/integration/src/py/test_random_currency_roundtrip.py | 3 ++- .../src/py/test_random_currency_roundtrip_with_snapshots.py | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/integration/src/py/test_new_currency_transfers.py b/test/integration/src/py/test_new_currency_transfers.py index 38cb6e3810..2edd395fba 100644 --- a/test/integration/src/py/test_new_currency_transfers.py +++ b/test/integration/src/py/test_new_currency_transfers.py @@ -34,8 +34,9 @@ def test_can_create_a_new_token_and_peg_it( new_account_key = ("a" + get_shell_output("uuidgen").replace("-", ""))[:token_length] token_name = new_account_key amount = amount_in_wei(9) + currencyAmount = amount_in_wei(10000) new_currency = create_new_currency( - amount=amount, + amount=currencyAmount, symbol=new_account_key, token_name=token_name, decimals=18, diff --git a/test/integration/src/py/test_random_currency_roundtrip.py b/test/integration/src/py/test_random_currency_roundtrip.py index 34aa6296cb..2b45b14644 100644 --- a/test/integration/src/py/test_random_currency_roundtrip.py +++ b/test/integration/src/py/test_random_currency_roundtrip.py @@ -24,9 +24,10 @@ def do_currency_test( solidity_json_path, ): amount = amount_in_wei(9) + currencyAmount = amount_in_wei(10000) logging.info(f"create new currency") new_currency = test_utilities.create_new_currency( - amount, + currencyAmount, new_currency_symbol, new_currency_symbol, 18, diff --git a/test/integration/src/py/test_random_currency_roundtrip_with_snapshots.py b/test/integration/src/py/test_random_currency_roundtrip_with_snapshots.py index 0747ead67c..ffa5f93409 100644 --- a/test/integration/src/py/test_random_currency_roundtrip_with_snapshots.py +++ b/test/integration/src/py/test_random_currency_roundtrip_with_snapshots.py @@ -17,9 +17,10 @@ def do_currency_test( rowan_source_integrationtest_env_transfer_request: EthereumToSifchainTransferRequest, ): amount = amount_in_wei(9) + currencyAmount = amount_in_wei(10000) logging.info(f"create new currency") new_currency = test_utilities.create_new_currency( - amount, + currencyAmount, new_currency_symbol, new_currency_symbol, 18,