Skip to content

Commit 7afb8eb

Browse files
committed
fix: adição das vars faltantes para execução dos testes
1 parent 45e2238 commit 7afb8eb

1 file changed

Lines changed: 31 additions & 2 deletions

File tree

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,39 @@
1+
server.port=8080
2+
3+
spring.datasource.url=jdbc:postgresql://localhost:5432/${POSTGRES_DB:studfit}
4+
spring.datasource.username=${POSTGRES_USER:postgres}
5+
spring.datasource.password=${POSTGRES_PASSWORD:postgres}
6+
spring.datasource.driver-class-name=org.postgresql.Driver
7+
18
spring.jpa.hibernate.ddl-auto=create-drop
29
spring.jpa.show-sql=true
310
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
411
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
512

613
spring.test.database.replace=none
7-
814
spring.flyway.enabled=false
15+
spring.docker.compose.enabled=false
16+
17+
api.secret.key.jwt=key
18+
19+
spring.cache.type=redis
20+
spring.data.redis.host=localhost
21+
spring.data.redis.port=6379
22+
23+
spring.mail.host=smtp.gmail.com
24+
spring.mail.port=587
25+
spring.mail.username=email@email.com
26+
spring.mail.password=senha
27+
spring.mail.properties.mail.smtp.auth=true
28+
spring.mail.properties.mail.smtp.starttls.enable=true
29+
30+
aws.accessKey=test-access-key
31+
aws.secretKey=test-secret-key
32+
aws.region=us-east-1
33+
aws.s3.bucket=test-bucket
34+
aws.sessionToken=test-token
35+
36+
springdoc.api-docs.enabled=false
937

10-
api.secret.key.jwt=key
38+
spring.servlet.multipart.max-file-size=5MB
39+
spring.servlet.multipart.max-request-size=10MB

0 commit comments

Comments
 (0)