aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorms <ms@taler.net>2021-07-28 14:32:17 +0200
committerms <ms@taler.net>2021-07-28 14:34:18 +0200
commita415545644834720ec136c0e113479743d929a74 (patch)
treec9f725ece89153b0c08ccd6d86d9564033838fe7 /packages
parent37031700d094d2e281529b937f196b65a0f83f2e (diff)
Instances test auth.
Commenting out 401-responded call due to its use of the old auth policy of the merchant backend.
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts
index 73d4a0224..2aaeaad74 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts
@@ -65,10 +65,16 @@ export async function runMerchantInstancesTest(t: GlobalTestState) {
}
// Instances should initially be empty
+ /**
+ * FIXME/NOTE: this call doesn't function with the current
+ * auth-policy. Upon starting up the first time, the merchant
+ * locks ANY call UNLESS a particular env variable is defined
+ * and calls authenticate with it.
{
const r = await axios.get(new URL("private/instances", baseUrl).href);
t.assertDeepEqual(r.data.instances, []);
}
+ */
// Add an instance, no auth!
await merchant.addInstance({