summaryrefslogtreecommitdiff
path: root/packages/taler-integrationtests/src/merchantApiTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-01 20:37:50 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-01 20:37:50 +0530
commit044b7236572089b98a9f230499bb4cd9ad0342a3 (patch)
treef80955c0fdf6e7dc5e836d8b811e43ce637093ab /packages/taler-integrationtests/src/merchantApiTypes.ts
parent7f4ebca0c4330805ea8f3821dba075b34dd2be58 (diff)
downloadwallet-core-044b7236572089b98a9f230499bb4cd9ad0342a3.tar.gz
wallet-core-044b7236572089b98a9f230499bb4cd9ad0342a3.tar.bz2
wallet-core-044b7236572089b98a9f230499bb4cd9ad0342a3.zip
correct refund amounts and better testing
Diffstat (limited to 'packages/taler-integrationtests/src/merchantApiTypes.ts')
-rw-r--r--packages/taler-integrationtests/src/merchantApiTypes.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-integrationtests/src/merchantApiTypes.ts b/packages/taler-integrationtests/src/merchantApiTypes.ts
index d08c354a1..550c5e90c 100644
--- a/packages/taler-integrationtests/src/merchantApiTypes.ts
+++ b/packages/taler-integrationtests/src/merchantApiTypes.ts
@@ -83,8 +83,8 @@ export const codecForCheckPaymentPaidResponse = (): Codec<
> =>
buildCodecForObject<CheckPaymentPaidResponse>()
.property("order_status", codecForConstString("paid"))
- .property("refunded", codecForBoolean)
- .property("wired", codecForBoolean)
+ .property("refunded", codecForBoolean())
+ .property("wired", codecForBoolean())
.property("deposit_total", codecForAmountString())
.property("exchange_ec", codecForNumber())
.property("exchange_hc", codecForNumber())