aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness')
-rw-r--r--packages/taler-harness/src/integrationtests/test-libeufin-api-bankaccount.ts2
-rw-r--r--packages/taler-harness/src/integrationtests/test-libeufin-api-sandbox-transactions.ts4
-rw-r--r--packages/taler-harness/src/integrationtests/test-libeufin-basic.ts2
-rw-r--r--packages/taler-harness/src/integrationtests/test-libeufin-facade-anastasis.ts6
4 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-libeufin-api-bankaccount.ts b/packages/taler-harness/src/integrationtests/test-libeufin-api-bankaccount.ts
index c3cbc0608..6f3e5038d 100644
--- a/packages/taler-harness/src/integrationtests/test-libeufin-api-bankaccount.ts
+++ b/packages/taler-harness/src/integrationtests/test-libeufin-api-bankaccount.ts
@@ -93,7 +93,7 @@ export async function runLibeufinApiBankaccountTest(t: GlobalTestState) {
debtorIban: "DE84500105176881385584",
debtorBic: "BELADEBEXXX",
debtorName: "mock2",
- amount: "1",
+ amount: "EUR:1",
subject: "mock subject",
},
);
diff --git a/packages/taler-harness/src/integrationtests/test-libeufin-api-sandbox-transactions.ts b/packages/taler-harness/src/integrationtests/test-libeufin-api-sandbox-transactions.ts
index 24fd9d3ef..1d41a614c 100644
--- a/packages/taler-harness/src/integrationtests/test-libeufin-api-sandbox-transactions.ts
+++ b/packages/taler-harness/src/integrationtests/test-libeufin-api-sandbox-transactions.ts
@@ -46,7 +46,7 @@ export async function runLibeufinApiSandboxTransactionsTest(
debtorBic: "BELADEBEXXX",
debtorName: "mock2",
subject: "mock subject",
- amount: "1", // EUR is default.
+ amount: "EUR:1"
},
);
await LibeufinSandboxApi.simulateIncomingTransaction(
@@ -57,7 +57,7 @@ export async function runLibeufinApiSandboxTransactionsTest(
debtorBic: "BELADEBEXXX",
debtorName: "mock2",
subject: "mock subject 2",
- amount: "1.1", // EUR is default.
+ amount: "EUR:1.1"
},
);
let ret = await LibeufinSandboxApi.getAccountInfoWithBalance(
diff --git a/packages/taler-harness/src/integrationtests/test-libeufin-basic.ts b/packages/taler-harness/src/integrationtests/test-libeufin-basic.ts
index 94fd76683..0b7d3df09 100644
--- a/packages/taler-harness/src/integrationtests/test-libeufin-basic.ts
+++ b/packages/taler-harness/src/integrationtests/test-libeufin-basic.ts
@@ -249,7 +249,7 @@ export async function runLibeufinBasicTest(t: GlobalTestState) {
libeufinSandbox,
"exchangeacct",
{
- amount: "15.00",
+ amount: "EUR:15.00",
debtorBic: customerBic,
debtorIban: customerIban,
debtorName: "Jane Customer",
diff --git a/packages/taler-harness/src/integrationtests/test-libeufin-facade-anastasis.ts b/packages/taler-harness/src/integrationtests/test-libeufin-facade-anastasis.ts
index 1ed258c3a..ae83738e2 100644
--- a/packages/taler-harness/src/integrationtests/test-libeufin-facade-anastasis.ts
+++ b/packages/taler-harness/src/integrationtests/test-libeufin-facade-anastasis.ts
@@ -91,7 +91,7 @@ export async function runLibeufinAnastasisFacadeTest(t: GlobalTestState) {
debtorBic: "BCMAESM1XXX",
debtorName: "Mock Donor",
subject: "Anastasis donation",
- amount: "3", // Sandbox takes currency from its 'config'
+ amount: "EUR:3", // Sandbox takes currency from its 'config'
},
)
@@ -103,7 +103,7 @@ export async function runLibeufinAnastasisFacadeTest(t: GlobalTestState) {
debtorBic: "BCMAESM1XXX",
debtorName: "Mock Donor",
subject: "another Anastasis donation",
- amount: "1", // Sandbox takes currency from its "config"
+ amount: "EUR:1", // Sandbox takes currency from its "config"
},
)
@@ -136,7 +136,7 @@ export async function runLibeufinAnastasisFacadeTest(t: GlobalTestState) {
debtorBic: "BCMAESM1XXX",
debtorName: "Mock Donor",
subject: "last Anastasis donation",
- amount: "10.10", // Sandbox takes currency from its "config"
+ amount: "EUR:10.10", // Sandbox takes currency from its "config"
},
)