From a415545644834720ec136c0e113479743d929a74 Mon Sep 17 00:00:00 2001 From: ms Date: Wed, 28 Jul 2021 14:32:17 +0200 Subject: [PATCH] Instances test auth. Commenting out 401-responded call due to its use of the old auth policy of the merchant backend. --- .../src/integrationtests/test-merchant-instances.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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({