diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts index edbbbca00..1400d2e65 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-api-facade.ts @@ -22,7 +22,6 @@ import { SandboxUserBundle, NexusUserBundle, launchLibeufinServices, - LibeufinSandboxApi, LibeufinNexusApi, } from "./libeufin"; @@ -52,6 +51,12 @@ export async function runLibeufinApiFacadeTest(t: GlobalTestState) { ); // check that original facade shows up. t.assertTrue(resp.data["facades"][0]["name"] == user01nexus.twgReq["name"]); + + const twgBaseUrl: string = resp.data["facades"][0]["twgBaseUrl"]; + t.assertTrue(typeof twgBaseUrl === "string"); + t.assertTrue(twgBaseUrl.startsWith("http://")); + t.assertTrue(twgBaseUrl.endsWith("/")); + // delete it. resp = await LibeufinNexusApi.deleteFacade( libeufinServices.libeufinNexus, |