summaryrefslogtreecommitdiff
path: root/src/headless
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-05-11 18:19:43 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-05-11 18:19:43 +0530
commitd9433a2116541160ed82f6780116c1c70afe4e2f (patch)
treeded9ab549e3a93dfaf6902f61c1521e5e44114a7 /src/headless
parent5d6192b0cd356f7e56fa8d6193a2e74233a52f4b (diff)
downloadwallet-core-d9433a2116541160ed82f6780116c1c70afe4e2f.tar.gz
wallet-core-d9433a2116541160ed82f6780116c1c70afe4e2f.tar.bz2
wallet-core-d9433a2116541160ed82f6780116c1c70afe4e2f.zip
logging
Diffstat (limited to 'src/headless')
-rw-r--r--src/headless/integrationtest.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/headless/integrationtest.ts b/src/headless/integrationtest.ts
index 24ceb9ce0..5beb7b793 100644
--- a/src/headless/integrationtest.ts
+++ b/src/headless/integrationtest.ts
@@ -77,9 +77,8 @@ async function makePayment(
paymentStatus = await merchant.checkPayment(orderResp.orderId);
- console.log("payment status after wallet payment:", paymentStatus);
-
if (!paymentStatus.paid) {
+ console.log("payment status:", paymentStatus);
throw Error("payment did not succeed");
}
@@ -112,10 +111,6 @@ export async function runIntegrationTest(args: IntegrationTestArgs): Promise<voi
);
logger.info("done withdrawing test balance");
- const balance = await myWallet.getBalances();
-
- console.log(JSON.stringify(balance, null, 2));
-
const myMerchant = new MerchantBackendConnection(
args.merchantBaseUrl,
args.merchantApiKey,