From 3a11861ac67655aa87dea219067277ab30c553ad Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:44:02 +0100 Subject: [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 --- internal/federation/federatingdb/create_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/federation/federatingdb/create_test.go') 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) { -- cgit v1.2.3