summaryrefslogtreecommitdiff
path: root/internal/processing/admin/admin_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-01-29 15:57:22 +0100
committerLibravatar GitHub <noreply@github.com>2024-01-29 14:57:22 +0000
commitaa8bbe6ad2e3908bd55bd6522524784cd4383ae2 (patch)
treebc1c3d742f2ef243936d4629aa0694affdbab5ca /internal/processing/admin/admin_test.go
parent[chore] Add a couple tests for updating list entries (#2580) (diff)
downloadgotosocial-aa8bbe6ad2e3908bd55bd6522524784cd4383ae2.tar.xz
[bugfix] Fix Postgres emoji delete, emoji category change (#2570)
* [bugfix] Fix Postgres emoji delete, emoji category change * revert trace logging * caching issue * update tests
Diffstat (limited to 'internal/processing/admin/admin_test.go')
-rw-r--r--internal/processing/admin/admin_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/processing/admin/admin_test.go b/internal/processing/admin/admin_test.go
index 01a3a88ff..1bd355b3d 100644
--- a/internal/processing/admin/admin_test.go
+++ b/internal/processing/admin/admin_test.go
@@ -62,6 +62,7 @@ type AdminStandardTestSuite struct {
testFollows map[string]*gtsmodel.Follow
testAttachments map[string]*gtsmodel.MediaAttachment
testStatuses map[string]*gtsmodel.Status
+ testEmojis map[string]*gtsmodel.Emoji
// module being tested
adminProcessor *admin.Processor
@@ -76,6 +77,7 @@ func (suite *AdminStandardTestSuite) SetupSuite() {
suite.testFollows = testrig.NewTestFollows()
suite.testAttachments = testrig.NewTestAttachments()
suite.testStatuses = testrig.NewTestStatuses()
+ suite.testEmojis = testrig.NewTestEmojis()
}
func (suite *AdminStandardTestSuite) SetupTest() {