From c36f9ac37b8bbdeb4def7a20ba8ea6d6b7ad12d5 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:22:44 +0100 Subject: [feature] Account alias / move API + db models (#2518) * [feature] Account alias / move API + db models * go fmt * fix little cherry-pick issues * update error checking, formatting * add and use new util functions to simplify alias logic --- internal/db/bundb/basic_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/db/bundb/basic_test.go') diff --git a/internal/db/bundb/basic_test.go b/internal/db/bundb/basic_test.go index fc601f2a5..5d5c1c2b9 100644 --- a/internal/db/bundb/basic_test.go +++ b/internal/db/bundb/basic_test.go @@ -86,8 +86,8 @@ func (suite *BasicTestSuite) TestPutAccountWithBunDefaultFields() { suite.Empty(a.Note) suite.Empty(a.NoteRaw) suite.False(*a.Memorial) - suite.Empty(a.AlsoKnownAs) - suite.Empty(a.MovedToAccountID) + suite.Empty(a.AlsoKnownAsURIs) + suite.Empty(a.MovedToURI) suite.False(*a.Bot) suite.Empty(a.Reason) // Locked is especially important, since it's a bool that defaults -- cgit v1.2.3