aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/integrationtests/sync.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-03-10 17:11:59 +0100
committerFlorian Dold <florian@dold.me>2021-03-10 17:11:59 +0100
commit1392dc47c6489fca1b3a4c036852873495190c36 (patch)
treeb8b76bff34b7425de602651fec3d86463e4c7599 /packages/taler-wallet-cli/src/integrationtests/sync.ts
parentac89c3d277134e49e44d8b0afd4930fd4df934aa (diff)
downloadwallet-core-1392dc47c6489fca1b3a4c036852873495190c36.tar.gz
wallet-core-1392dc47c6489fca1b3a4c036852873495190c36.tar.bz2
wallet-core-1392dc47c6489fca1b3a4c036852873495190c36.zip
finish first complete end-to-end backup/sync test
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/sync.ts')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/sync.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/sync.ts b/packages/taler-wallet-cli/src/integrationtests/sync.ts
index 7aa4b2893..83024ec79 100644
--- a/packages/taler-wallet-cli/src/integrationtests/sync.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/sync.ts
@@ -19,7 +19,6 @@
*/
import axios from "axios";
import { Configuration, URL } from "@gnu-taler/taler-wallet-core";
-import { getRandomIban, getRandomString } from "./helpers";
import * as fs from "fs";
import * as util from "util";
import {
@@ -87,6 +86,8 @@ export class SyncService {
config.setString("sync", "port", `${sc.httpPort}`);
config.setString("sync", "db", "postgres");
config.setString("syncdb-postgres", "config", sc.database);
+ config.setString("sync", "payment_backend_url", sc.paymentBackendUrl);
+ config.setString("sync", "upload_limit_mb", `${sc.uploadLimitMb}`);
config.write(cfgFilename);
return new SyncService(gc, sc, cfgFilename);