fix_: functional tests (#5979)

* fix_: generate on test-functional

* chore(test)_: fix functional test assertion

---------

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
This commit is contained in:
Igor Sirotin 2024-10-23 12:35:07 +01:00 committed by Icaro Motta
parent 3179532b64
commit b93e343ce6
2 changed files with 3 additions and 2 deletions

View File

@ -398,6 +398,7 @@ test-e2e: ##@tests Run e2e tests
test-e2e-race: export GOTEST_EXTRAFLAGS=-race test-e2e-race: export GOTEST_EXTRAFLAGS=-race
test-e2e-race: test-e2e ##@tests Run e2e tests with -race flag test-e2e-race: test-e2e ##@tests Run e2e tests with -race flag
test-functional: generate
test-functional: export FUNCTIONAL_TESTS_DOCKER_UID ?= $(call sh, id -u) test-functional: export FUNCTIONAL_TESTS_DOCKER_UID ?= $(call sh, id -u)
test-functional: export FUNCTIONAL_TESTS_REPORT_CODECOV ?= false test-functional: export FUNCTIONAL_TESTS_REPORT_CODECOV ?= false
test-functional: test-functional:

View File

@ -111,5 +111,5 @@ class TestTransactionFromRoute(SignalTestCase):
tx_details = response.json()["result"] tx_details = response.json()["result"]
assert tx_details["value"] == amount_in assert tx_details["value"] == amount_in
assert tx_details["to"] == user_2.address assert tx_details["to"].upper() == user_2.address.upper()
assert tx_details["from"] == user_1.address assert tx_details["from"].upper() == user_1.address.upper()