From e3db86e4043e839faf5a1460578a7dd03e7db36c Mon Sep 17 00:00:00 2001 From: Adrian Clay Date: Fri, 21 Jun 2024 13:41:23 +0100 Subject: [PATCH] Fix deprecated API warning (#638) LocalServerPort has moved to the test namespace --- .../java/uk/nhs/adaptors/pss/translator/HealthCheckIT.java | 2 +- .../java/uk/nhs/adaptors/pss/gpc/HealthCheckIT.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/HealthCheckIT.java b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/HealthCheckIT.java index a1737faf6..fd9042e2b 100644 --- a/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/HealthCheckIT.java +++ b/gp2gp-translator/src/integrationTest/java/uk/nhs/adaptors/pss/translator/HealthCheckIT.java @@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.web.server.LocalServerPort; +import org.springframework.boot.test.web.server.LocalServerPort; import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.junit.jupiter.SpringExtension; import org.springframework.web.reactive.function.client.WebClient; diff --git a/gpc-api-facade/src/integrationTest/java/uk/nhs/adaptors/pss/gpc/HealthCheckIT.java b/gpc-api-facade/src/integrationTest/java/uk/nhs/adaptors/pss/gpc/HealthCheckIT.java index 47736ff74..a10dc19cc 100644 --- a/gpc-api-facade/src/integrationTest/java/uk/nhs/adaptors/pss/gpc/HealthCheckIT.java +++ b/gpc-api-facade/src/integrationTest/java/uk/nhs/adaptors/pss/gpc/HealthCheckIT.java @@ -6,7 +6,7 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.boot.web.server.LocalServerPort; +import org.springframework.boot.test.web.server.LocalServerPort; import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.junit.jupiter.SpringExtension; import org.springframework.web.reactive.function.client.WebClient;