diff options
author | 2022-04-24 14:24:43 +0200 | |
---|---|---|
committer | 2022-04-24 14:24:43 +0200 | |
commit | 0d05bf473ba8e8b64a9e1b0977898581c5a3137d (patch) | |
tree | e17d1519ce291ff3c99bdaf4fb3f6b6ed6d951e0 /internal/api/s2s/user/user_test.go | |
parent | [feature] Implement media v2 endpoint to accommodate Tusky 17 (#480) (diff) | |
download | gotosocial-0d05bf473ba8e8b64a9e1b0977898581c5a3137d.tar.xz |
[bug] Fix status API / status web API being case sensitive (#481)
* make getStatus by id case-insensitive
* test get status case insensitive
* init config before log
Diffstat (limited to 'internal/api/s2s/user/user_test.go')
-rw-r--r-- | internal/api/s2s/user/user_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/s2s/user/user_test.go b/internal/api/s2s/user/user_test.go index b1be59073..059925ba7 100644 --- a/internal/api/s2s/user/user_test.go +++ b/internal/api/s2s/user/user_test.go @@ -73,8 +73,8 @@ func (suite *UserStandardTestSuite) SetupSuite() { } func (suite *UserStandardTestSuite) SetupTest() { - testrig.InitTestLog() testrig.InitTestConfig() + testrig.InitTestLog() suite.db = testrig.NewTestDB() suite.tc = testrig.NewTestTypeConverter(suite.db) |