[java-idp-integration-tests] 04/06: Update deprecation warning for PostgreSQL test

Codeberg noreply at shibboleth.net
Mon May 11 15:47:04 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-integration-tests/commit/02c052a138937fb714d7aac39240032d1dbd6ea7

commit 02c052a138937fb714d7aac39240032d1dbd6ea7
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Sun May 10 14:42:42 2026 -0500

    Update deprecation warning for PostgreSQL test
---
 .../idp/integration/tests/consent/BasePostgresConsentTest.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/consent/BasePostgresConsentTest.java b/src/test/java/net/shibboleth/idp/integration/tests/consent/BasePostgresConsentTest.java
index 46f768e..f90492e 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/consent/BasePostgresConsentTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/consent/BasePostgresConsentTest.java
@@ -36,7 +36,7 @@ import javax.annotation.Nonnull;
 import org.opensaml.saml.saml2.core.AuthnContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.testcontainers.containers.PostgreSQLContainer;
+import org.testcontainers.postgresql.PostgreSQLContainer;
 import org.testng.Assert;
 import org.testng.annotations.AfterMethod;
 import org.testng.annotations.BeforeClass;
@@ -56,7 +56,7 @@ public abstract class BasePostgresConsentTest extends AbstractSAML2IntegrationTe
     private final Logger log = LoggerFactory.getLogger(BasePostgresConsentTest.class);
 
     /** Postgres container. */
-    private PostgreSQLContainer<?> postgresContainer;
+    private PostgreSQLContainer postgresContainer;
 
     /** Postgres connection URL from container. */
     private String jdbcUrl;
@@ -286,7 +286,7 @@ public abstract class BasePostgresConsentTest extends AbstractSAML2IntegrationTe
 
         final String initScriptPath = "net/shibboleth/idp/integration/tests/postgres/create-table.sql";
 
-        postgresContainer = new PostgreSQLContainer<>("postgres").withInitScript(initScriptPath);
+        postgresContainer = new PostgreSQLContainer("postgres").withInitScript(initScriptPath);
 
         log.debug("{} Starting Postgres ...");
         postgresContainer.start();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list