diff options
author | 2024-01-29 15:57:22 +0100 | |
---|---|---|
committer | 2024-01-29 14:57:22 +0000 | |
commit | aa8bbe6ad2e3908bd55bd6522524784cd4383ae2 (patch) | |
tree | bc1c3d742f2ef243936d4629aa0694affdbab5ca /internal/api/client/admin/emojidelete_test.go | |
parent | [chore] Add a couple tests for updating list entries (#2580) (diff) | |
download | gotosocial-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/api/client/admin/emojidelete_test.go')
-rw-r--r-- | internal/api/client/admin/emojidelete_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/admin/emojidelete_test.go b/internal/api/client/admin/emojidelete_test.go index 551054036..e27592baf 100644 --- a/internal/api/client/admin/emojidelete_test.go +++ b/internal/api/client/admin/emojidelete_test.go @@ -87,7 +87,7 @@ func (suite *EmojiDeleteTestSuite) TestEmojiDelete2() { suite.NoError(err) suite.NotNil(b) - suite.Equal(`{"error":"Bad Request: EmojiDelete: emoji with id 01GD5KP5CQEE1R3X43Y1EHS2CW was not a local emoji, will not delete"}`, string(b)) + suite.Equal(`{"error":"Bad Request: emoji with id 01GD5KP5CQEE1R3X43Y1EHS2CW was not a local emoji, will not delete"}`, string(b)) // emoji should still be in the db dbEmoji, err := suite.db.GetEmojiByID(context.Background(), testEmoji.ID) |