Skip to content

Commit

Permalink
fix : failures
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Aug 31, 2024
1 parent 60a83ce commit 7ca6053
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import io.restassured.RestAssured;
import io.restassured.authentication.PreemptiveBasicAuthScheme;
import io.restassured.http.ContentType;
import org.apache.hc.core5.http.HttpStatus;
import org.apache.http.HttpStatus;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
import io.restassured.http.ContentType;
import java.util.ArrayList;
import java.util.List;
import org.apache.hc.core5.http.HttpHeaders;
import org.apache.hc.core5.http.HttpStatus;
import org.apache.http.HttpHeaders;
import org.apache.http.HttpStatus;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
Expand Down
6 changes: 0 additions & 6 deletions jpa/multitenancy/multitenancy-db/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,6 @@
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class DBContainerInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> {

private static final PostgreSQLContainer<?> POSTGRE_SQL_CONTAINER =
new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.3-alpine"));
new PostgreSQLContainer<>(DockerImageName.parse("postgres").withTag("16.4-alpine"));

private static final MariaDBContainer<?> MARIA_DB_CONTAINER =
new MariaDBContainer<>(DockerImageName.parse("mariadb").withTag("11.4"));
Expand Down

0 comments on commit 7ca6053

Please sign in to comment.