Skip to content

Commit

Permalink
[SHIBUI-1030]
Browse files Browse the repository at this point in the history
Switching around the hostnames so that tests look for a host named
'mailhog'.
  • Loading branch information
Bill Smith committed Jan 14, 2019
1 parent b936f1f commit 253d458
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ shibui.nameid-filter-ui-schema-location=classpath:nameid-filter.schema.json
# shibui.metadataProviders.taskRunRate=30000

# Email configuration (local mailhog)
spring.mail.host=mailhog
spring.mail.host=localhost
spring.mail.port=1025
spring.mail.username=username
spring.mail.password=password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TestConfiguration {
@Bean
JavaMailSender javaMailSender() {
return new JavaMailSenderImpl().with {
it.host = 'localhost'
it.host = 'mailhog'
it.port = 1025
it
}
Expand Down

0 comments on commit 253d458

Please sign in to comment.