diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-06-19 00:10:52 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-06-19 00:10:52 +0530 |
commit | 3172664f1e0df86e576ade5f940886c7e01c2cd1 (patch) | |
tree | e5eb16e711279fa266ad78a123bd0bc82b16abd0 /integration-tests | |
parent | f54bd1bc9f106d18ed5b562729f701bfd50eb372 (diff) | |
download | libeufin-3172664f1e0df86e576ade5f940886c7e01c2cd1.tar.gz libeufin-3172664f1e0df86e576ade5f940886c7e01c2cd1.tar.bz2 libeufin-3172664f1e0df86e576ade5f940886c7e01c2cd1.zip |
terminology
Diffstat (limited to 'integration-tests')
-rwxr-xr-x | integration-tests/start-testenv.py | 4 | ||||
-rwxr-xr-x | integration-tests/test-ebics-highlevel.py | 6 | ||||
-rwxr-xr-x | integration-tests/test-ebics.py | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/integration-tests/start-testenv.py b/integration-tests/start-testenv.py index 4da2669d..636ba4fe 100755 --- a/integration-tests/start-testenv.py +++ b/integration-tests/start-testenv.py @@ -402,7 +402,7 @@ assertResponse( # # 5.a, prepare a payment # resp = assertResponse( # post( -# "http://localhost:5001/bank-accounts/{}/prepared-payments".format( +# "http://localhost:5001/bank-accounts/{}/payment-initiations".format( # BC1_SUBSCRIBER1_BANK_ACCOUNT_LABEL # ), # json=dict( @@ -422,7 +422,7 @@ assertResponse( # # 5.b, submit prepared statement # assertResponse( # post( -# f"http://localhost:5001/bank-accounts/{BC1_SUBSCRIBER1_BANK_ACCOUNT_LABEL}/prepared-payments/{PREPARED_PAYMENT_UUID}/submit", +# f"http://localhost:5001/bank-accounts/{BC1_SUBSCRIBER1_BANK_ACCOUNT_LABEL}/payment-initiations/{PREPARED_PAYMENT_UUID}/submit", # json=dict(), # headers=dict(Authorization=USER_AUTHORIZATION_HEADER), # ) diff --git a/integration-tests/test-ebics-highlevel.py b/integration-tests/test-ebics-highlevel.py index 5ebb4800..da4306c9 100755 --- a/integration-tests/test-ebics-highlevel.py +++ b/integration-tests/test-ebics-highlevel.py @@ -179,7 +179,7 @@ if len(resp.json().get("transactions")) != 0: # 5.a, prepare a payment resp = assertResponse( post( - "http://localhost:5001/bank-accounts/{}/prepared-payments".format( + "http://localhost:5001/bank-accounts/{}/payment-initiations".format( BANK_ACCOUNT_LABEL ), json=dict( @@ -196,10 +196,10 @@ PREPARED_PAYMENT_UUID = resp.json().get("uuid") if PREPARED_PAYMENT_UUID == None: fail("Payment UUID not received") -# 5.b, submit prepared statement +# 5.b, submit payment initiation assertResponse( post( - f"http://localhost:5001/bank-accounts/{BANK_ACCOUNT_LABEL}/prepared-payments/{PREPARED_PAYMENT_UUID}/submit", + f"http://localhost:5001/bank-accounts/{BANK_ACCOUNT_LABEL}/payment-initiations/{PREPARED_PAYMENT_UUID}/submit", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) diff --git a/integration-tests/test-ebics.py b/integration-tests/test-ebics.py index a74efe6c..9232bcaa 100755 --- a/integration-tests/test-ebics.py +++ b/integration-tests/test-ebics.py @@ -207,7 +207,7 @@ if len(resp.json().get("transactions")) != 0: # 5.a, prepare a payment resp = assertResponse( post( - "http://localhost:5001/bank-accounts/{}/prepared-payments".format( + "http://localhost:5001/bank-accounts/{}/payment-initiations".format( BANK_ACCOUNT_LABEL ), json=dict( @@ -227,7 +227,7 @@ if PREPARED_PAYMENT_UUID == None: # 5.b, submit prepared statement assertResponse( post( - f"http://localhost:5001/bank-accounts/{BANK_ACCOUNT_LABEL}/prepared-payments/{PREPARED_PAYMENT_UUID}/submit", + f"http://localhost:5001/bank-accounts/{BANK_ACCOUNT_LABEL}/payment-initiations/{PREPARED_PAYMENT_UUID}/submit", json=dict(), headers=dict(Authorization=USER_AUTHORIZATION_HEADER), ) |