source: backend/src/test/resources/application.properties@ 3ebe47c

Last change on this file since 3ebe47c was 3ebe47c, checked in by Andrej <asumanovski@…>, 5 months ago

Made authentication on frontend and backend

  • Property mode set to 100644
File size: 741 bytes
Line 
1# Test profile: use in-memory DB so tests don't require external Postgres
2
3spring.datasource.url=jdbc:h2:mem:trekr;MODE=PostgreSQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=TRUE
4spring.datasource.driver-class-name=org.h2.Driver
5spring.datasource.username=sa
6spring.datasource.password=
7
8spring.jpa.hibernate.ddl-auto=create-drop
9spring.jpa.show-sql=false
10spring.jpa.properties.hibernate.format_sql=true
11spring.jpa.properties.hibernate.default_schema=trekr
12spring.jpa.properties.hibernate.hbm2ddl.create_namespaces=false
13
14# Ensure schema exists before Hibernate runs DDL
15spring.sql.init.mode=always
16
17# JWT secret for tests
18jwt.secret=test-secret-min-32-chars-000000000000
19
20# Keep noise down in tests
21logging.level.org.springframework.security=INFO
Note: See TracBrowser for help on using the repository browser.