From ec409ed5f53ef1155ab3daba6ca71a2155fb4fe2 Mon Sep 17 00:00:00 2001 From: soohyeon Date: Fri, 6 Dec 2024 10:54:45 +0900 Subject: [PATCH] test --- src/main/resources/application.yml | 39 ++++++++--------- src/test/resources/application-test.yml | 56 ------------------------- 2 files changed, 20 insertions(+), 75 deletions(-) delete mode 100644 src/test/resources/application-test.yml diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ae26458..3a88714 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,24 +1,26 @@ spring: - config.activate.on-profile: default -datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: ${DB_URL} - username: ${DB_USERNAME} - password: ${DB_PASSWORD} - hikari: - maxLifetime: 580000 -jpa: - hibernate: - ddl-auto: update - show-sql: true - properties: + config: + activate: + on-profile: default + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: ${DB_URL} + username: ${DB_USERNAME} + password: ${DB_PASSWORD} + hikari: + maxLifetime: 580000 + jpa: hibernate: - format_sql: true - open-in-view: false - database: mysql + ddl-auto: update + show-sql: true + properties: + hibernate: + format_sql: true + open-in-view: false + database: mysql -jackson: - property-naming-strategy: SNAKE_CASE + jackson: + property-naming-strategy: SNAKE_CASE auth: jwt: @@ -52,4 +54,3 @@ open-feign: server: port: 8989 - diff --git a/src/test/resources/application-test.yml b/src/test/resources/application-test.yml deleted file mode 100644 index 39894d1..0000000 --- a/src/test/resources/application-test.yml +++ /dev/null @@ -1,56 +0,0 @@ -spring: - config: - activate: - on-profile: test - datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: ${DB_URL} - username: ${DB_USERNAME} - password: ${DB_PASSWORD} - hikari: - maxLifetime: 580000 - jpa: - hibernate: - ddl-auto: update - show-sql: true - properties: - hibernate: - format_sql: true - open-in-view: false - database: mysql - - jackson: - property-naming-strategy: SNAKE_CASE - -auth: - jwt: - secretKey: ${SECRET_KEY} - accessExp: ${ACCESS_EXP} - refreshExp: ${REFRESH_EXP} - header: "Authorization" - prefix: "Bearer " - -cloud: - aws: - credentials: - access-key: ${AWS_ACCESS_KEY} - secret-key: ${AWS_SECRET_KEY} - s3: - default-image: ${DEFAULT_IMAGE} - bucket: ${S3_BUCKET} - region: - static: ap-northeast-2 - stack: - auto: false - -firebase: - url: ${FCM_URL} - -url: - career: ${CAREER_URL} - -open-feign: - career-key: ${CAREER_KEY} - -server: - port: 8989