summaryrefslogtreecommitdiff
path: root/internal/api/client/account/account_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/account/account_test.go')
-rw-r--r--internal/api/client/account/account_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/account/account_test.go b/internal/api/client/account/account_test.go
index e214f7f03..f783a9492 100644
--- a/internal/api/client/account/account_test.go
+++ b/internal/api/client/account/account_test.go
@@ -58,9 +58,10 @@ func (suite *AccountStandardTestSuite) SetupSuite() {
func (suite *AccountStandardTestSuite) SetupTest() {
testrig.InitTestConfig()
+ testrig.InitTestLog()
+
suite.db = testrig.NewTestDB()
suite.storage = testrig.NewTestStorage()
- testrig.InitTestLog()
suite.mediaManager = testrig.NewTestMediaManager(suite.db, suite.storage)
suite.federator = testrig.NewTestFederator(suite.db, testrig.NewTestTransportController(testrig.NewMockHTTPClient(nil), suite.db), suite.storage, suite.mediaManager)
suite.sentEmails = make(map[string]string)