summaryrefslogtreecommitdiff
path: root/internal/api/s2s/user/user_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-30 10:56:02 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-30 10:56:02 +0200
commit36a09dd0df06e1b6f64347ed3d3c2c8ca963fc73 (patch)
tree78e032fecd7c2e6b0260c2a285d9d3bc1238ffcb /internal/api/s2s/user/user_test.go
parentupstep bun to v1.0.9 (#252) (diff)
downloadgotosocial-36a09dd0df06e1b6f64347ed3d3c2c8ca963fc73.tar.xz
handle remote account deletion more systematically (#254)
Diffstat (limited to 'internal/api/s2s/user/user_test.go')
-rw-r--r--internal/api/s2s/user/user_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/s2s/user/user_test.go b/internal/api/s2s/user/user_test.go
index eba0f61f0..86aa0bdf4 100644
--- a/internal/api/s2s/user/user_test.go
+++ b/internal/api/s2s/user/user_test.go
@@ -53,6 +53,7 @@ type UserStandardTestSuite struct {
testAccounts map[string]*gtsmodel.Account
testAttachments map[string]*gtsmodel.MediaAttachment
testStatuses map[string]*gtsmodel.Status
+ testBlocks map[string]*gtsmodel.Block
// module being tested
userModule *user.Module
@@ -66,6 +67,7 @@ func (suite *UserStandardTestSuite) SetupSuite() {
suite.testAccounts = testrig.NewTestAccounts()
suite.testAttachments = testrig.NewTestAttachments()
suite.testStatuses = testrig.NewTestStatuses()
+ suite.testBlocks = testrig.NewTestBlocks()
}
func (suite *UserStandardTestSuite) SetupTest() {