File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
main/resources/db/migration
test/kotlin/no/nav/dagpenger/inntekt/db Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change
1
+ -- ${flyway:timestamp}
2
+ SELECT 1 = 1 ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ internal class PostgresTest {
31
31
fun `Migration scripts are applied successfully` () {
32
32
withCleanDb {
33
33
val migrations = PostgresDataSourceBuilder .runMigration()
34
- assertEquals(18 , migrations, " Wrong number of migrations" )
34
+ assertEquals(19 , migrations, " Wrong number of migrations" )
35
35
}
36
36
}
37
37
@@ -47,7 +47,7 @@ internal class PostgresTest {
47
47
fun `Migration of testdata ` () {
48
48
withCleanDb {
49
49
val migrations = PostgresDataSourceBuilder .runMigration(locations = listOf (" db/migration" , " db/testdata" ))
50
- assertEquals(23 , migrations, " Wrong number of migrations" )
50
+ assertEquals(24 , migrations, " Wrong number of migrations" )
51
51
}
52
52
}
53
53
}
@@ -84,7 +84,7 @@ internal class PostgresInntektStoreTest {
84
84
85
85
@Test
86
86
fun ` Should insert different inntekt based on different aktørid and same vedtak id ` () {
87
- val ident1 = " 1234 "
87
+ val ident1 = " 123'4 "
88
88
val ident2 = " 5678"
89
89
90
90
withMigratedDb {
You can’t perform that action at this time.
0 commit comments