Fix migrations of Functions

This commit is contained in:
2020-05-11 01:39:36 +02:00
parent 377459f430
commit 55b547db75
6 changed files with 24 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ class MigrationTest() : TestAbstract() {
@Test
fun `run up query`() {
val resources = this::class.java.getResource("/sql/migrations").toURI()
val m = Migrations(resources, connection)
val m = Migrations(connection, resources)
m.up().apply {
this `should contain` Pair("1", Migration.Status.OK)
size `should be equal to` 1