Skip to content

Commit bfca87e

Browse files
committed
Fixes
1 parent 3eda74d commit bfca87e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

data-jpa-event/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ repositories {
1919

2020
dependencies {
2121
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
22-
implementation("org.springframework.boot:spring-boot-starter-data-jpa-test:4.0.2")
2322
runtimeOnly("org.postgresql:postgresql")
24-
testImplementation("org.springframework.boot:spring-boot-starter-test")
23+
testImplementation("org.springframework.boot:spring-boot-starter-data-jpa-test")
2524
testImplementation("org.springframework.boot:spring-boot-testcontainers")
2625
testImplementation("org.testcontainers:testcontainers-junit-jupiter")
2726
testImplementation("org.testcontainers:testcontainers-postgresql")

data-jpa-event/src/test/java/zin/rashidi/data/event/user/UserRepositoryTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.junit.jupiter.api.Test;
55
import org.springframework.beans.factory.annotation.Autowired;
66
import org.springframework.boot.data.jpa.test.autoconfigure.DataJpaTest;
7-
import org.springframework.boot.data.jpa.test.autoconfigure.TestEntityManager;
7+
import org.springframework.boot.jpa.test.autoconfigure.TestEntityManager;
88
import org.springframework.boot.testcontainers.service.connection.ServiceConnection;
99
import org.springframework.context.annotation.ComponentScan.Filter;
1010
import org.testcontainers.junit.jupiter.Container;

0 commit comments

Comments
 (0)