From 03b2e064c23382a0251a3b91bec1f8430acf6c95 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 5 Sep 2022 22:33:51 +0200 Subject: -fix test setup --- packages/taler-wallet-cli/src/harness/helpers.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/taler-wallet-cli/src/harness/helpers.ts b/packages/taler-wallet-cli/src/harness/helpers.ts index 08c865ec1..aa970f76b 100644 --- a/packages/taler-wallet-cli/src/harness/helpers.ts +++ b/packages/taler-wallet-cli/src/harness/helpers.ts @@ -124,7 +124,11 @@ export async function createSimpleTestkudosEnvironment( exchange.enableAgeRestrictions(ageMaskSpec); // Enable age restriction for all coins. exchange.addCoinConfigList( - coinConfig.map((x) => ({ ...x, ageRestricted: true })), + coinConfig.map((x) => ({ + ...x, + name: `${x.name}-age`, + ageRestricted: true, + })), ); // For mixed age restrictions, we also offer coins without age restrictions if (opts.mixedAgeRestriction) { -- cgit v1.2.3