aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-payment-forgettable.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-05-16 13:19:17 +0200
committerFlorian Dold <florian@dold.me>2024-05-16 13:19:23 +0200
commitf0decd3521440d6119ad9333949ce67653d8b2c2 (patch)
tree7e14203552b811448136802fb00eeccadc04071e /packages/taler-harness/src/integrationtests/test-payment-forgettable.ts
parent98c188c1b14f73a6b81f41a0cacd6195bb53208e (diff)
downloadwallet-core-f0decd3521440d6119ad9333949ce67653d8b2c2.tar.xz
wallet-core: query templates, refactor API declarations
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-payment-forgettable.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-payment-forgettable.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-forgettable.ts b/packages/taler-harness/src/integrationtests/test-payment-forgettable.ts
index e47cfe7cd..827c299a4 100644
--- a/packages/taler-harness/src/integrationtests/test-payment-forgettable.ts
+++ b/packages/taler-harness/src/integrationtests/test-payment-forgettable.ts
@@ -24,6 +24,7 @@ import {
makeTestPaymentV2,
withdrawViaBankV3,
} from "../harness/helpers.js";
+import { TalerMerchantApi } from "@gnu-taler/taler-util";
/**
* Run test for payment with a contract that has forgettable fields.
@@ -46,7 +47,7 @@ export async function runPaymentForgettableTest(t: GlobalTestState) {
await wres.withdrawalFinishedCond;
{
- const order = {
+ const order: TalerMerchantApi.Order = {
summary: "Buy me!",
amount: "TESTKUDOS:5",
fulfillment_url: "taler://fulfillment-success/thx",
@@ -64,7 +65,7 @@ export async function runPaymentForgettableTest(t: GlobalTestState) {
console.log("testing with forgettable field without hash");
{
- const order = {
+ const order: TalerMerchantApi.Order = {
summary: "Buy me!",
amount: "TESTKUDOS:5",
fulfillment_url: "taler://fulfillment-success/thx",