# ===== 테스트 프로필 =====
# 사용법: ./gradlew test (자동 적용)

spring:
  datasource:
    url: jdbc:h2:mem:testdb;MODE=PostgreSQL;DB_CLOSE_DELAY=-1
    username: sa
    password:
    driver-class-name: org.h2.Driver

  jpa:
    hibernate:
      ddl-auto: create-drop
    database-platform: org.hibernate.dialect.H2Dialect

  flyway:
    enabled: false

wbx:
  spring:
    jwt:
      secret: test-secret-key-minimum-256-bits-for-hmac-sha-algorithm
      expiration: 3600
    mfa:
      enabled: false
    file:
      storage-type: local
      upload-dir: ./build/test-uploads

logging:
  level:
    root: WARN
    kr.co.accura.wbx.spring: DEBUG
