Skip to content

Commit 36e7b99

Browse files
authored
Merge pull request #99 from navikt/task/remove-arena-mapping-table
Fjerner 'inntekt_v1_arena_mapping' tabellen, data migrert over til 'i…
2 parents 7505803 + 474d151 commit 36e7b99

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

build.gradle.kts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,6 @@ subprojects {
8181
apply(plugin = "org.jetbrains.kotlin.jvm")
8282
apply(plugin = "maven-publish")
8383

84-
repositories {
85-
jcenter()
86-
maven("https://jitpack.io")
87-
}
88-
8984
dependencies {
9085
implementation(kotlin("stdlib-jdk8"))
9186

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS inntekt_v1_arena_mapping;

dp-inntekt-api/src/test/kotlin/no/nav/dagpenger/inntekt/db/PostgresTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ internal class PostgresTest {
3333
fun `Migration scripts are applied successfully`() {
3434
withCleanDb {
3535
val migrations = migrate(DataSource.instance)
36-
assertEquals(9, migrations, "Wrong number of migrations")
36+
assertEquals(10, migrations, "Wrong number of migrations")
3737
}
3838
}
3939

@@ -51,7 +51,7 @@ internal class PostgresTest {
5151
fun `Migration of testdata `() {
5252
withCleanDb {
5353
val migrations = migrate(DataSource.instance, locations = listOf("db/migration", "db/testdata"))
54-
assertEquals(14, migrations, "Wrong number of migrations")
54+
assertEquals(15, migrations, "Wrong number of migrations")
5555
}
5656
}
5757

0 commit comments

Comments
 (0)