diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/unittest/testdb.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/unittest/testdb.go b/models/unittest/testdb.go index 87d9304618..f3127006b8 100644 --- a/models/unittest/testdb.go +++ b/models/unittest/testdb.go @@ -106,6 +106,8 @@ func MainTest(m *testing.M, testOpts *TestOptions) { setting.Git.HomePath = filepath.Join(setting.AppDataPath, "home") + setting.IncomingEmail.ReplyToAddress = "incoming+%{token}@localhost" + if err = storage.Init(); err != nil { fatalTestError("storage.Init: %v\n", err) } |