diff options
author | 2024-01-16 17:22:44 +0100 | |
---|---|---|
committer | 2024-01-16 16:22:44 +0000 | |
commit | c36f9ac37b8bbdeb4def7a20ba8ea6d6b7ad12d5 (patch) | |
tree | 9569c022aaf5c4ceaaf5ce433c95d9d90b6402cc /internal/db/bundb/basic_test.go | |
parent | [chore] Move to codeberg's exif-terminator (#2536) (diff) | |
download | gotosocial-c36f9ac37b8bbdeb4def7a20ba8ea6d6b7ad12d5.tar.xz |
[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
Diffstat (limited to 'internal/db/bundb/basic_test.go')
-rw-r--r-- | internal/db/bundb/basic_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |