mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-31 03:56:15 -06:00
use noop email sender in tests
This commit is contained in:
parent
b0cc815189
commit
8fdb3256e5
23 changed files with 110 additions and 88 deletions
|
|
@ -43,7 +43,7 @@ func (suite *UserStandardTestSuite) SetupTest() {
|
|||
testrig.InitTestLog()
|
||||
suite.config = testrig.NewTestConfig()
|
||||
suite.db = testrig.NewTestDB()
|
||||
suite.emailSender = testrig.NewEmailSender("../../../web/template/")
|
||||
suite.emailSender = testrig.NewEmailSender("../../../web/template/", nil)
|
||||
suite.testUsers = testrig.NewTestUsers()
|
||||
|
||||
suite.user = user.New(suite.db, suite.emailSender, suite.config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue