taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit a415545644834720ec136c0e113479743d929a74
parent 37031700d094d2e281529b937f196b65a0f83f2e
Author: ms <ms@taler.net>
Date:   Wed, 28 Jul 2021 14:32:17 +0200

Instances test auth.

Commenting out 401-responded call due to its use
of the old auth policy of the merchant backend.

Diffstat:
Mpackages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts | 6++++++
1 file 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 @@ -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({