fix(backend): Bypass security configs in spring test
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
spring:
|
||||
application:
|
||||
name: legalconsenthub-test
|
||||
|
||||
autoconfigure:
|
||||
exclude:
|
||||
- org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration
|
||||
|
||||
datasource:
|
||||
url: jdbc:h2:mem:testdb
|
||||
username: sa
|
||||
password:
|
||||
driver-class-name: org.h2.Driver
|
||||
|
||||
jpa:
|
||||
database-platform: org.hibernate.dialect.H2Dialect
|
||||
hibernate:
|
||||
ddl-auto: create-drop
|
||||
show-sql: false
|
||||
|
||||
liquibase:
|
||||
enabled: false
|
||||
|
||||
sql:
|
||||
init:
|
||||
platform: h2
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.betriebsratkanzlei.legalconsenthub: DEBUG
|
||||
org.springframework.security: WARN
|
||||
org.springframework.web: WARN
|
||||
|
||||
Reference in New Issue
Block a user