diff options
author | 2022-11-30 17:44:02 +0100 | |
---|---|---|
committer | 2022-11-30 17:44:02 +0100 | |
commit | 3a11861ac67655aa87dea219067277ab30c553ad (patch) | |
tree | a1f9d8a28d39a7889c7ba526c1eba72c88b0a43c /internal/federation/federatingdb/create_test.go | |
parent | [bugfix] use correct key for PATCHing admin email (#1189) (diff) | |
download | gotosocial-3a11861ac67655aa87dea219067277ab30c553ad.tar.xz |
[bugfix] Don't call `strings.ToLower()` on usernames when selecting account by domain+username (#1190)
* don't lowercase account username when doing a select
* test getting remote user with uppercase username
Diffstat (limited to 'internal/federation/federatingdb/create_test.go')
-rw-r--r-- | internal/federation/federatingdb/create_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/create_test.go b/internal/federation/federatingdb/create_test.go index d4f277c37..399809e42 100644 --- a/internal/federation/federatingdb/create_test.go +++ b/internal/federation/federatingdb/create_test.go @@ -80,7 +80,7 @@ func (suite *CreateTestSuite) TestCreateNoteForward() { suite.Nil(msg.GTSModel) // but we should have a uri set - suite.Equal("http://example.org/users/some_user/statuses/afaba698-5740-4e32-a702-af61aa543bc1", msg.APIri.String()) + suite.Equal("http://example.org/users/Some_User/statuses/afaba698-5740-4e32-a702-af61aa543bc1", msg.APIri.String()) } func TestCreateTestSuite(t *testing.T) { |