summaryrefslogtreecommitdiff
path: root/internal/api/client/account/account_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-10 15:11:12 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-10 15:11:12 +0200
commita7e9dee33d038c55090b1e657fdf1008d3c4e227 (patch)
tree30e8995596d9f022479115a49d3c23c3bde5dd80 /internal/api/client/account/account_test.go
parent[dependency] Update superseriousbusiness/activity dependency (#446) (diff)
downloadgotosocial-a7e9dee33d038c55090b1e657fdf1008d3c4e227.tar.xz
[bugfix] Fix broken only_media and only_public flags on /api/v1/accounts/:id/statuses (#448)v0.2.3
* bump superseriousbusiness/activity version * fetch list of follower inbox iris * add test for getting account statuses * fix incorrect publicOnly parsing * update media not null query
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)