From 253d4588b1ce2ec335fb8d3e45a748fa8182395d Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Mon, 14 Jan 2019 13:17:43 -0700 Subject: [PATCH] [SHIBUI-1030] Switching around the hostnames so that tests look for a host named 'mailhog'. --- backend/src/main/resources/application.properties | 2 +- .../shibboleth/admin/ui/configuration/TestConfiguration.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties index a9beb4ac4..7a11fdb1d 100644 --- a/backend/src/main/resources/application.properties +++ b/backend/src/main/resources/application.properties @@ -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 diff --git a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/configuration/TestConfiguration.groovy b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/configuration/TestConfiguration.groovy index a01645a09..2ee2a5638 100644 --- a/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/configuration/TestConfiguration.groovy +++ b/backend/src/test/groovy/edu/internet2/tier/shibboleth/admin/ui/configuration/TestConfiguration.groovy @@ -40,7 +40,7 @@ class TestConfiguration { @Bean JavaMailSender javaMailSender() { return new JavaMailSenderImpl().with { - it.host = 'localhost' + it.host = 'mailhog' it.port = 1025 it }