diff options
author | MS <ms@taler.net> | 2021-02-05 14:38:34 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-02-05 14:38:34 +0100 |
commit | 76019733621873379e813dd3c62a0b435180a57d (patch) | |
tree | 7689bb2ef22a5745ab777afd0cf7f760806ed2b4 /packages/taler-wallet-cli | |
parent | dab052673c0fc3eab7330a77feff8767af0c672e (diff) | |
download | wallet-core-76019733621873379e813dd3c62a0b435180a57d.tar.xz |
formatting
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/libeufin.ts | 12 | ||||
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts | 6 |
2 files changed, 6 insertions, 12 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts index b45b8a2a7..f55719e13 100644 --- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts +++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts @@ -424,16 +424,15 @@ export class LibeufinCli { } async importBankAccount( - importDetails: LibeufinBankAccountImportDetails + importDetails: LibeufinBankAccountImportDetails, ): Promise<void> { - const stdout = await sh( this.globalTestState, "libeufin-cli-importbankaccount", "libeufin-cli connections import-bank-account" + - ` --offered-account-id=${importDetails.offeredBankAccountName}` + - ` --nexus-bank-account-id=${importDetails.nexusBankAccountName}` + - ` ${importDetails.connectionName}`, + ` --offered-account-id=${importDetails.offeredBankAccountName}` + + ` --nexus-bank-account-id=${importDetails.nexusBankAccountName}` + + ` ${importDetails.connectionName}`, { ...process.env, LIBEUFIN_NEXUS_URL: this.cliDetails.nexusUrl, @@ -445,7 +444,6 @@ export class LibeufinCli { } async fetchTransactions(bankAccountName: string): Promise<void> { - const stdout = await sh( this.globalTestState, "libeufin-cli-fetchtransactions", @@ -461,7 +459,6 @@ export class LibeufinCli { } async transactions(bankAccountName: string): Promise<void> { - const stdout = await sh( this.globalTestState, "libeufin-cli-transactions", @@ -475,7 +472,6 @@ export class LibeufinCli { ); console.log(stdout); } - } export namespace LibeufinSandboxApi { diff --git a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts index 1b0f86ae5..559937c90 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts @@ -106,9 +106,7 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) { await libeufinCli.importBankAccount(bankAccountImportDetails); await libeufinCli.fetchTransactions( - bankAccountImportDetails.nexusBankAccountName - ); - await libeufinCli.transactions( - bankAccountImportDetails.nexusBankAccountName + bankAccountImportDetails.nexusBankAccountName, ); + await libeufinCli.transactions(bankAccountImportDetails.nexusBankAccountName); } |