diff options
author | MS <ms@taler.net> | 2021-02-03 14:34:31 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2021-02-03 14:34:31 +0100 |
commit | a3b84dca53dc78ee8db1353d828898c6aa07be9a (patch) | |
tree | b1428d367706b012845c1e24ef8c62720b26fe3b /packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts | |
parent | d8c4b2734e1b5a8fd125631a909513be84a68c8d (diff) | |
download | wallet-core-a3b84dca53dc78ee8db1353d828898c6aa07be9a.tar.xz |
libeufin tutorial test: check sandbox step
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts | 14 |
1 files changed, 10 insertions, 4 deletions
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 817bfad8e..dce5e8869 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-libeufin-tutorial.ts @@ -19,17 +19,15 @@ */ import { CoreApiResponse } from "@gnu-taler/taler-wallet-core"; import { CoinConfig, defaultCoinConfig } from "./denomStructures"; -import { - GlobalTestState, -} from "./harness"; +import { GlobalTestState } from "./harness"; import { LibeufinNexusApi, LibeufinNexusService, LibeufinSandboxApi, LibeufinSandboxService, + LibeufinCli, } from "./libeufin"; - /** * Run basic test with LibEuFin. */ @@ -52,4 +50,12 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) { await libeufinNexus.start(); await libeufinNexus.pingUntilAvailable(); + const libeufinCli = new LibeufinCli(t, { + sandboxUrl: libeufinSandbox.baseUrl, + nexusUrl: libeufinNexus.baseUrl, + sandboxDatabaseUri: `jdbc:sqlite:${t.testDir}/libeufin-sandbox.sqlite3`, + nexusDatabaseUri: `jdbc:sqlite:${t.testDir}/libeufin-nexus.sqlite3`, + }); + + await libeufinCli.checkSandbox(); } |