From 91993062c540fc3b1d31f51ebf6e381e6ea54ff8 Mon Sep 17 00:00:00 2001 From: thiagodeev Date: Mon, 6 Jan 2025 08:26:54 -0300 Subject: [PATCH] Fixes failing test --- .github/workflows/test_account.yml | 2 +- account/account_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_account.yml b/.github/workflows/test_account.yml index 016da641..66e4f078 100644 --- a/.github/workflows/test_account.yml +++ b/.github/workflows/test_account.yml @@ -34,7 +34,7 @@ jobs: run: cd account && go test -timeout 600s -v -env devnet . env: TESTNET_ACCOUNT_PRIVATE_KEY: ${{ secrets.TESTNET_ACCOUNT_PRIVATE_KEY }} - INTEGRATION_BASE: "http://0.0.0.0:5050" + INTEGRATION_BASE: "http://localhost:5050" # Test Account on mock - name: Test Account with mocks diff --git a/account/account_test.go b/account/account_test.go index 1002b3fa..627b8974 100644 --- a/account/account_test.go +++ b/account/account_test.go @@ -1076,7 +1076,7 @@ func TestWaitForTransactionReceipt(t *testing.T) { Timeout: 3, // Should poll 3 times Hash: new(felt.Felt).SetUint64(100), ExpectedReceipt: rpc.TransactionReceipt{}, - ExpectedErr: rpc.Err(rpc.InternalError, &rpc.RPCData{Message: "Post \"http://0.0.0.0:5050\": context deadline exceeded"}), + ExpectedErr: rpc.Err(rpc.InternalError, &rpc.RPCData{Message: "Post \"http://localhost:5050\": context deadline exceeded"}), }, }, }[testEnv]