commit 7c3f54744920d85977ce4b027068005e8594c5aa parent 0343e36936beb31d0aeb3a4bf712d3844eec4f1f Author: Marcello Stanisci <stanisci.m@gmail.com> Date: Fri, 10 Jan 2020 17:19:05 +0100 simple test to retrieve customers from database. Diffstat:
| M | sandbox/src/test/kotlin/DbTest.kt | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/sandbox/src/test/kotlin/DbTest.kt b/sandbox/src/test/kotlin/DbTest.kt @@ -36,6 +36,18 @@ class DbTest { } + + @Test + fun customers() { + transaction { + BankCustomerEntity.new { + name = "Test Name" + } + findCustomer("1") + } + } + + @Test fun goodAmount() {