diff options
author | Florian Dold <florian@dold.me> | 2022-09-05 22:33:51 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-09-05 22:33:51 +0200 |
commit | 03b2e064c23382a0251a3b91bec1f8430acf6c95 (patch) | |
tree | 89a0aa5270516af6da58b2398c4d66e3db694b48 /packages | |
parent | 4240e1b7678232c062919a454d5fd0f4bb3cb92d (diff) | |
download | wallet-core-03b2e064c23382a0251a3b91bec1f8430acf6c95.tar.xz |
-fix test setup
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-cli/src/harness/helpers.ts | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |