Skip to content

Commit

Permalink
fix project
Browse files Browse the repository at this point in the history
  • Loading branch information
rieckpil committed Jan 30, 2024
1 parent 6227991 commit f6cd4eb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ApplicationIT {

@Container
public static PostgreSQLContainer postgreSQLContainer =
new PostgreSQLContainer().withPassword("inmemory").withUsername("inmemory");
new PostgreSQLContainer("postgres:16.1").withPassword("inmemory").withUsername("inmemory");

@DynamicPropertySource
static void postgresqlProperties(DynamicPropertyRegistry registry) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CreatePersonIT {

@Container
public static PostgreSQLContainer postgreSQLContainer =
new PostgreSQLContainer().withPassword("inmemory").withUsername("inmemory");
new PostgreSQLContainer("postgres:16.1").withPassword("inmemory").withUsername("inmemory");

@Autowired private PersonRepository personRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class DeletePersonIT {

@Container
public static PostgreSQLContainer postgreSQLContainer =
new PostgreSQLContainer().withPassword("inmemory").withUsername("inmemory");
new PostgreSQLContainer("postgres:16.1").withPassword("inmemory").withUsername("inmemory");

@Autowired private PersonRepository personRepository;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class GetAllPersonsIT {

@ClassRule
public static PostgreSQLContainer postgreSQLContainer =
new PostgreSQLContainer().withPassword("inmemory").withUsername("inmemory");
new PostgreSQLContainer("postgres:16.1").withPassword("inmemory").withUsername("inmemory");

@Autowired public TestRestTemplate testRestTemplate;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GetPersonByIdIT {

@ClassRule
public static PostgreSQLContainer postgreSQLContainer =
new PostgreSQLContainer().withPassword("inmemory").withUsername("inmemory");
new PostgreSQLContainer("postgres:16.1").withPassword("inmemory").withUsername("inmemory");

@Autowired private PersonRepository personRepository;

Expand Down

0 comments on commit f6cd4eb

Please sign in to comment.