diff options
Diffstat (limited to 'sandbox/src/test/kotlin/DatabaseTest.kt')
-rw-r--r-- | sandbox/src/test/kotlin/DatabaseTest.kt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sandbox/src/test/kotlin/DatabaseTest.kt b/sandbox/src/test/kotlin/DatabaseTest.kt index ff4f537b..2ca6aeb3 100644 --- a/sandbox/src/test/kotlin/DatabaseTest.kt +++ b/sandbox/src/test/kotlin/DatabaseTest.kt @@ -203,4 +203,16 @@ class DatabaseTest { // Finally confirming the operation (means customer wired funds to the exchange.) assert(db.talerWithdrawalGet(uuid)?.confirmationDone == true) } + // Only testing the interaction between Kotlin and the DBMS. No actual logic tested. + @Test + fun historyTest() { + val db = initDb() + val res = db.bankTransactionGetForHistoryPage( + 10L, + 1L, + fromMs = 0, + toMs = Long.MAX_VALUE + ) + assert(res.isEmpty()) + } }
\ No newline at end of file |