Add inbucket docker image to allow local and automated testing of emails (#4901)

* add docker container for inbucket

* Add way to get the emails using inbucket and add a test for reset password

* add config setting to send emails

* update TestEmailTest

update

* add another test and fix wrong assert

* update per review

fix lint

change senders email

* Revert config.json to default values for EmailSettings section

* update test

* add setup to make the test run
Этот коммит содержится в:
Carlos Tadeu Panato Junior
2017-01-17 15:01:41 +01:00
коммит произвёл Harrison Healey
родитель 97a51b0e31
Коммит dc54e640c2
9 изменённых файлов: 218 добавлений и 6 удалений

Просмотреть файл

@@ -53,6 +53,7 @@ func Setup() *TestHelper {
NewServer()
InitStores()
StartServer()
utils.InitHTML()
utils.EnableDebugLogForTest()
Srv.Store.MarkSystemRanUnitTests()