Skip to content

Commit

Permalink
fix : sync with other declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed May 10, 2024
1 parent f0ea3f7 commit 555e5ed
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
import org.testcontainers.containers.PostgreSQLContainer;
import org.testcontainers.utility.DockerImageName;

public interface TestContainersConfig {

@ServiceConnection
PostgreSQLContainer<?> postgreSQLContainer = new PostgreSQLContainer<>("postgres:16.3-alpine");
PostgreSQLContainer<?> postgreSQLContainer =
new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.3-alpine"));
}

0 comments on commit 555e5ed

Please sign in to comment.