aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-integrationtests/src/test-refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2020-11-03 15:56:02 +0100
committerFlorian Dold <florian@dold.me>2020-11-03 15:56:02 +0100
commitca343e4e0037cd986b3115079d370e61fc5897ce (patch)
treeae5ebf8fa6fdc8704272eb94151dd3f086413ec9 /packages/taler-integrationtests/src/test-refund.ts
parente259d109efd998d0ff6197123a47b83bfe274680 (diff)
fix broken integration tests due to merchant API changes
Diffstat (limited to 'packages/taler-integrationtests/src/test-refund.ts')
-rw-r--r--packages/taler-integrationtests/src/test-refund.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-integrationtests/src/test-refund.ts b/packages/taler-integrationtests/src/test-refund.ts
index bda609c95..40fadd5de 100644
--- a/packages/taler-integrationtests/src/test-refund.ts
+++ b/packages/taler-integrationtests/src/test-refund.ts
@@ -17,6 +17,7 @@
/**
* Imports.
*/
+import { durationFromSpec } from 'taler-wallet-core';
import { runTest, GlobalTestState, MerchantPrivateApi } from "./harness";
import { createSimpleTestkudosEnvironment, withdrawViaBank } from "./helpers";
@@ -45,6 +46,7 @@ runTest(async (t: GlobalTestState) => {
amount: "TESTKUDOS:5",
fulfillment_url: "taler://fulfillment-success/thx",
},
+ refund_delay: durationFromSpec({ minutes: 5}),
});
let orderStatus = await MerchantPrivateApi.queryPrivateOrderStatus(merchant, {