diff options
author | Sebastian <sebasjm@gmail.com> | 2023-01-19 16:16:42 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-01-19 16:16:42 -0300 |
commit | 40279ae7f0520b25f5aecf5b2318a1bb5772c10c (patch) | |
tree | 824f513640e3d98be23839c4d3917cd891aae360 /packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts | |
parent | b5c29a8bad3b19b2529cd7fd1c9e321734f08379 (diff) | |
download | wallet-core-40279ae7f0520b25f5aecf5b2318a1bb5772c10c.tar.xz |
pretty
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts b/packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts index 53aacca84..1187d923b 100644 --- a/packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts +++ b/packages/taler-harness/src/integrationtests/test-libeufin-bad-gateway.ts @@ -34,7 +34,8 @@ export async function runLibeufinBadGatewayTest(t: GlobalTestState) { * User saltetd "01" */ const user01nexus = new NexusUserBundle( - "01", "http://localhost:5010/not-found", // the EBICS endpoint at Sandbox + "01", + "http://localhost:5010/not-found", // the EBICS endpoint at Sandbox ); // Start Nexus @@ -52,11 +53,11 @@ export async function runLibeufinBadGatewayTest(t: GlobalTestState) { }); await libeufinSandbox.start(); await libeufinSandbox.pingUntilAvailable(); - + // Connecting to a non-existent Sandbox endpoint. await LibeufinNexusApi.createEbicsBankConnection( libeufinNexus, - user01nexus.connReq + user01nexus.connReq, ); // 502 Bad Gateway expected. @@ -65,7 +66,7 @@ export async function runLibeufinBadGatewayTest(t: GlobalTestState) { libeufinNexus, user01nexus.connReq.name, ); - } catch(e: any) { + } catch (e: any) { t.assertTrue(e.response.status == 502); return; } |