Skip to content

Instantly share code, notes, and snippets.

@AlicanAkkus
Created September 13, 2018 11:19
Show Gist options
  • Save AlicanAkkus/a8a369d39d10f11fdf4a0b5fb1ac66db to your computer and use it in GitHub Desktop.
Save AlicanAkkus/a8a369d39d10f11fdf4a0b5fb1ac66db to your computer and use it in GitHub Desktop.
Spring Boot test property file
spring:
application:
name: my-api
profiles:
active: test
---
spring:
profiles: test
jpa:
show-sql: false
hibernate:
ddl-auto: create-drop
open-in-view: false
database-platform: org.hibernate.dialect.MySQLDialect
datasource:
url: jdbc:mysql://localhost:4306/my-api?createDatabaseIfNotExist=true
driver-class-name: com.mysql.jdbc.Driver
username: root
password: root_password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment