From 36a09dd0df06e1b6f64347ed3d3c2c8ca963fc73 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 30 Sep 2021 10:56:02 +0200 Subject: handle remote account deletion more systematically (#254) --- internal/api/s2s/user/user_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/api/s2s/user/user_test.go') 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() { -- cgit v1.2.3