summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-09 13:10:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-09 13:10:41 +0530
commitfaac23f32b6ee7b42a57164e5ae56a8e43977b17 (patch)
tree0d3e461d78e8d2222988014581a36edf16a1574b
parent3d6a312f486aebcc7855881e9600015e636835d1 (diff)
downloadwallet-core-faac23f32b6ee7b42a57164e5ae56a8e43977b17.tar.gz
wallet-core-faac23f32b6ee7b42a57164e5ae56a8e43977b17.tar.bz2
wallet-core-faac23f32b6ee7b42a57164e5ae56a8e43977b17.zip
transactions order in test
-rw-r--r--packages/taler-integrationtests/src/test-timetravel-withdraw.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-integrationtests/src/test-timetravel-withdraw.ts b/packages/taler-integrationtests/src/test-timetravel-withdraw.ts
index 40421ac48..e0124d462 100644
--- a/packages/taler-integrationtests/src/test-timetravel-withdraw.ts
+++ b/packages/taler-integrationtests/src/test-timetravel-withdraw.ts
@@ -75,7 +75,7 @@ runTest(async (t: GlobalTestState) => {
console.log(transactions);
const types = transactions.transactions.map((x) => x.type);
t.assertDeepEqual(types, ["withdrawal", "withdrawal"]);
- const wtrans = transactions.transactions[0];
+ const wtrans = transactions.transactions[1];
t.assertTrue(wtrans.type === TransactionType.Withdrawal);
t.assertTrue(wtrans.pending);
}