aboutsummaryrefslogtreecommitdiff
path: root/src/headless/integrationtest.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/headless/integrationtest.ts')
-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,