aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-09-12 02:35:50 +0200
committerFlorian Dold <florian@dold.me>2024-09-12 02:35:50 +0200
commitd424216e5cacef7640c0a8b982071236578b2d61 (patch)
tree92811fa8e59986aa2fd0fe971b25d39340994ad8 /packages/taler-harness/src/integrationtests
parent1997c2bb4945ec318de58d6f4c88b6649a514d61 (diff)
wallet-core: implement getMaxPeerPushDebitAmount, fix p2p push instructed amount semantics
Diffstat (limited to 'packages/taler-harness/src/integrationtests')
-rw-r--r--packages/taler-harness/src/integrationtests/test-exchange-purse.ts1
-rw-r--r--packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts4
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-exchange-purse.ts b/packages/taler-harness/src/integrationtests/test-exchange-purse.ts
index 6666e2d0b..68dd58d3e 100644
--- a/packages/taler-harness/src/integrationtests/test-exchange-purse.ts
+++ b/packages/taler-harness/src/integrationtests/test-exchange-purse.ts
@@ -148,6 +148,7 @@ export async function runExchangePurseTest(t: GlobalTestState) {
contribution: amount,
denomPubHash: coin.denomPubHash,
denomSig: coin.denomSig,
+ feeDeposit: d1.fees.feeDeposit,
};
const depositSigsResp = await cryptoApi.signPurseDeposits({
diff --git a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
index e38b690ab..1d25fe851 100644
--- a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
+++ b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
@@ -83,7 +83,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) {
},
);
- t.assertAmountEquals(checkResp0.amountEffective, "TESTKUDOS:5.49");
+ t.assertAmountEquals(checkResp0.amountEffective, "TESTKUDOS:5.3");
{
const resp = await w1.walletClient.call(
@@ -102,7 +102,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) {
{
const bal = await w1.walletClient.call(WalletApiOperation.GetBalances, {});
- t.assertAmountEquals(bal.balances[0].pendingOutgoing, "TESTKUDOS:5.49");
+ t.assertAmountEquals(bal.balances[0].pendingOutgoing, "TESTKUDOS:5.3");
}
await w1.walletClient.call(WalletApiOperation.TestingWaitRefreshesFinal, {});