diff options
Diffstat (limited to 'packages/taler-harness/src')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-payment-expired.ts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-payment-expired.ts b/packages/taler-harness/src/integrationtests/test-payment-expired.ts index 176fc74f7..a837b18fa 100644 --- a/packages/taler-harness/src/integrationtests/test-payment-expired.ts +++ b/packages/taler-harness/src/integrationtests/test-payment-expired.ts @@ -117,15 +117,16 @@ export async function runPaymentExpiredTest(t: GlobalTestState) { }); await walletClient.call(WalletApiOperation.TestingWaitTransactionsFinal, {}); - const bal = await walletClient.call(WalletApiOperation.GetBalances, {}); - console.log(bal); - - t.assertAmountEquals(bal.balances[0].available, "TESTKUDOS:18.93"); - const txns = await walletClient.call(WalletApiOperation.GetTransactions, { + sort: "stable-ascending", includeRefreshes: true, }); console.log(j2s(txns)); + + const bal = await walletClient.call(WalletApiOperation.GetBalances, {}); + console.log(j2s(bal)); + + t.assertAmountEquals(bal.balances[0].available, "TESTKUDOS:18.93"); } runPaymentExpiredTest.suites = ["wallet"]; |