We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d53816 commit 0474c87Copy full SHA for 0474c87
1 file changed
module-api/src/test/resources/application-test.properties
@@ -0,0 +1,24 @@
1
+# Test Configuration
2
+spring.application.name=myCodingTest-test
3
+
4
+# Database - H2 In-Memory
5
+spring.datasource.url=jdbc:h2:mem:testdb;MODE=MySQL;
6
+spring.datasource.username=sa
7
+spring.datasource.password=
8
+spring.datasource.driverClassName=org.h2.Driver
9
+spring.jpa.hibernate.ddl-auto=create-drop
10
+spring.jpa.properties.hibernate.format_sql=true
11
+spring.jpa.show-sql=false
12
13
+## Database init
14
+spring.sql.init.data-locations=classpath:data.sql
15
+spring.jpa.defer-datasource-initialization=true
16
17
+# Cookie
18
+cookie.name=test-cookie
19
+url.redirect=http://localhost:3000/
20
+url.base=http://localhost:8080
21
22
+# Logging
23
+logging.level.org.springframework.security=WARN
24
+logging.level.org.springframework.web=WARN
0 commit comments