diff --git a/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml b/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml index 923bddc..3875810 100644 --- a/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml +++ b/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml @@ -48,3 +48,8 @@ logging: web: DEBUG org.testcontainers: INFO com.github.dockerjava: WARN + +management: + health: + mail: + enabled: false diff --git a/legalconsenthub-backend/src/test/resources/application.yaml b/legalconsenthub-backend/src/test/resources/application.yaml index 1376ec2..4bd9f28 100644 --- a/legalconsenthub-backend/src/test/resources/application.yaml +++ b/legalconsenthub-backend/src/test/resources/application.yaml @@ -8,3 +8,21 @@ spring: jwt: issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI:http://localhost:7080} jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI:http://localhost:7080} + + mail: + host: ${MAIL_HOST:0.0.0.0} + port: ${MAIL_PORT:1025} + username: ${MAIL_USERNAME:} + password: ${MAIL_PASSWORD:} + properties: + mail: + smtp: + auth: false + starttls: + enable: false + required: false + ssl: + enable: false + connectiontimeout: 5000 + timeout: 5000 + writetimeout: 5000