diff options
| author | Florian Dold <florian@dold.me> | 2021-08-05 22:43:14 +0200 | 
|---|---|---|
| committer | Florian Dold <florian@dold.me> | 2021-08-05 22:43:14 +0200 | 
| commit | cd15937dadc43c1b535e226022d93fda08254cdf (patch) | |
| tree | 3ab393af9e4bbe7b7a29f4eeefc3e72101603499 /packages | |
| parent | 09b07d614747587ac567632c2193b784f6d7402e (diff) | |
fix section comparison
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/taler-util/src/talerconfig.ts | 2 | ||||
| -rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/harness.ts | 7 | 
2 files changed, 2 insertions, 7 deletions
| diff --git a/packages/taler-util/src/talerconfig.ts b/packages/taler-util/src/talerconfig.ts index dbdb93507..37aace10a 100644 --- a/packages/taler-util/src/talerconfig.ts +++ b/packages/taler-util/src/talerconfig.ts @@ -541,7 +541,7 @@ export class Configuration {    }    /** -   * Get lower-cased section names. +   * Get upper-cased section names.     */    getSectionNames(): string[] {      return Object.keys(this.sectionMap).map((x) => x.toUpperCase()); diff --git a/packages/taler-wallet-cli/src/integrationtests/harness.ts b/packages/taler-wallet-cli/src/integrationtests/harness.ts index 67abdcaca..77961ff13 100644 --- a/packages/taler-wallet-cli/src/integrationtests/harness.ts +++ b/packages/taler-wallet-cli/src/integrationtests/harness.ts @@ -926,11 +926,6 @@ export class ExchangeService implements ExchangeServiceInterface {      config.setString(`exchange-account-${localName}`, "enable_debit", "yes");      config.setString(        `exchange-accountcredentials-${localName}`, -      "payto_uri", -      exchangeBankAccount.accountPaytoUri, -    ); -    config.setString( -      `exchange-accountcredentials-${localName}`,        "wire_gateway_url",        exchangeBankAccount.wireGatewayApiBaseUrl,      ); @@ -1021,7 +1016,7 @@ export class ExchangeService implements ExchangeServiceInterface {      const config = Configuration.load(this.configFilename);      for (const sectionName of config.getSectionNames()) { -      if (sectionName.startsWith("exchange-account")) { +      if (sectionName.startsWith("EXCHANGE_ACCOUNT")) {          const paytoUri = config.getString(sectionName, "payto_uri").required();          const p = parsePaytoUri(paytoUri);          if (!p) { | 
