diff options
Diffstat (limited to 'packages/taler-integrationtests')
-rw-r--r-- | packages/taler-integrationtests/src/test-tipping.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-integrationtests/src/test-tipping.ts b/packages/taler-integrationtests/src/test-tipping.ts index ddf56c0e0..f7840f5da 100644 --- a/packages/taler-integrationtests/src/test-tipping.ts +++ b/packages/taler-integrationtests/src/test-tipping.ts @@ -94,13 +94,19 @@ runTest(async (t: GlobalTestState) => { console.log(ptr); + t.assertAmountEquals(ptr.tipAmountRaw, "TESTKUDOS:5"); + t.assertAmountEquals(ptr.tipAmountEffective, "TESTKUDOS:4.85"); + await wallet.acceptTip({ walletTipId: ptr.walletTipId, }); + await wallet.runUntilDone(); const bal = await wallet.getBalances(); console.log(bal); + + t.assertAmountEquals(bal.balances[0].available, "TESTKUDOS:4.85"); }); |