Skip to content

Commit

Permalink
test: fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee committed Nov 14, 2023
1 parent aa70707 commit 0db5b73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/integration/src/py/test_new_currency_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion test/integration/src/py/test_random_currency_roundtrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0db5b73

Please sign in to comment.