Skip to content

Commit

Permalink
Oppdaterer til spring 3.4.1 (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
UyQuangNguyen authored Jan 17, 2025
1 parent a93db85 commit a394031
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.5</version>
<version>3.4.1</version>
</parent>

<properties>
Expand All @@ -23,11 +23,11 @@
<main-class>no.nav.familie.tilbake.LauncherKt</main-class>
<kotlin.version>2.0.21</kotlin.version>
<common-java-modules.version>2.2021.09.17_07.09-67428a6422cc</common-java-modules.version>
<kontrakter.version>3.0_20241102131210_d65efd1</kontrakter.version>
<felles.version>3.20240913110742_adb42f8</felles.version>
<kontrakter.version>3.0_20250116111901_78b5a16</kontrakter.version>
<felles.version>3.20250106100611_6ae49d2</felles.version>
<!-- kotest.properties kan antakelig fjernes i versjon 6, for autoscan blir default false -->
<kotest.version>5.9.1</kotest.version>
<token-validation-spring.version>5.0.10</token-validation-spring.version>
<token-validation-spring.version>5.0.14</token-validation-spring.version>
<okhttp3.version>4.9.1</okhttp3.version><!-- Inntil videre nødvendig for token-validation-spring-test-->
<openhtmltopdf.version>1.1.22</openhtmltopdf.version>
<jakarta.xml.bind-api.version>4.0.1</jakarta.xml.bind-api.version>
Expand All @@ -41,8 +41,8 @@
<sonar.coverage.exclusions>**/config/FlywayConfig.kt</sonar.coverage.exclusions>
<!--suppress UnresolvedMavenProperty Ligger som secret i github-->
<sonar.login>${SONAR_LOGIN}</sonar.login>
<spring.cloud-contract>4.1.4</spring.cloud-contract>
<springdoc.version>2.6.0</springdoc.version>
<spring.cloud-contract>4.2.0</spring.cloud-contract>
<springdoc.version>2.8.3</springdoc.version>
<testcontainers.version>1.20.3</testcontainers.version>
<tjenestespesifikasjoner.version>2633.1685ed5</tjenestespesifikasjoner.version>
<familie-tjenestespesifikasjoner.version>1.0_20241021101018_2aa57cc</familie-tjenestespesifikasjoner.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import io.kotest.assertions.throwables.shouldThrow
import io.kotest.matchers.nulls.shouldNotBeNull
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import io.kotest.matchers.string.shouldContain
import io.kotest.matchers.types.shouldBeInstanceOf
import no.nav.familie.kontrakter.felles.Ressurs
import no.nav.familie.kontrakter.felles.simulering.FeilutbetalingerFraSimulering
Expand Down Expand Up @@ -146,7 +147,7 @@ internal class OppdragClientTest : OppslagSpringRunnerTest() {
exception.shouldNotBeNull()
exception.shouldBeInstanceOf<IntegrasjonException>()
exception.message shouldBe "Noe gikk galt ved iverksetting av behandling=${behandling.id}"
exception.cause?.message shouldBe "503 Couldn't send message: [no body]"
exception.cause?.message shouldContain "503 Couldn't send message"
}

@Test
Expand Down Expand Up @@ -249,7 +250,7 @@ internal class OppdragClientTest : OppslagSpringRunnerTest() {
exception.shouldNotBeNull()
exception.shouldBeInstanceOf<IntegrasjonException>()
exception.message shouldBe "Noe gikk galt ved henting av kravgrunnlag for kravgrunnlagId=$kravgrunnlagId"
exception.cause?.message shouldBe "503 Couldn't send message: [no body]"
exception.cause?.message shouldContain "503 Couldn't send message"
}

@Test
Expand Down Expand Up @@ -300,7 +301,7 @@ internal class OppdragClientTest : OppslagSpringRunnerTest() {
exception.shouldNotBeNull()
exception.shouldBeInstanceOf<IntegrasjonException>()
exception.message shouldBe "Noe gikk galt ved henting av feilutbetalinger fra simulering"
exception.cause?.message shouldBe "503 Couldn't send message: [no body]"
exception.cause?.message shouldContain "503 Couldn't send message"
}

private fun lagIverksettelseRespons(): TilbakekrevingsvedtakResponse {
Expand Down

0 comments on commit a394031

Please sign in to comment.