[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: integration tests: check that
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: integration tests: check that TWG base URLs look well-formed |
Date: |
Wed, 04 Aug 2021 12:40:54 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new a8e5b956 integration tests: check that TWG base URLs look well-formed
a8e5b956 is described below
commit a8e5b9568284898518fcb95e244742c9fd3edc69
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Aug 4 12:40:49 2021 +0200
integration tests: check that TWG base URLs look well-formed
---
.../src/integrationtests/test-libeufin-api-facade.ts | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
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 edbbbca0..1400d2e6 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,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: integration tests: check that TWG base URLs look well-formed,
gnunet <=