From 96aad045b85e118ddc9c963eb3aab1a8fe95300d Mon Sep 17 00:00:00 2001 From: SunYerim Date: Sun, 16 Jun 2024 12:55:13 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20properties=20=EC=9D=98=EC=A1=B4?= =?UTF-8?q?=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 1 + src/test/resources/application.properties | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 src/test/resources/application.properties diff --git a/build.gradle b/build.gradle index 031db32..661b40b 100644 --- a/build.gradle +++ b/build.gradle @@ -48,6 +48,7 @@ dependencies { runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' implementation 'commons-codec:commons-codec:1.5' implementation 'com.auth0:java-jwt:3.13.0' + testImplementation 'com.h2database:h2' } dependencyManagement { diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties new file mode 100644 index 0000000..b89e189 --- /dev/null +++ b/src/test/resources/application.properties @@ -0,0 +1,5 @@ +spring.datasource.driver-class-name=org.h2.Driver +spring.datasource.url=jdbc:h2:mem:sunjooAuth;MODE=mysql; +spring.jpa.show-sql=true +spring.jpa.hibernate.ddl-auto=create +spring.jpa.properties.hibernate.format_sql=true \ No newline at end of file