From 5ca86b1c575f9c42ad8d3d4a2b2d3e70c89e90df Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 19 Jan 2024 14:02:04 +0100 Subject: [chore] Harden up boolptr logic on Accounts, warn if not set (#2544) --- internal/db/bundb/account_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/db/bundb/account_test.go') diff --git a/internal/db/bundb/account_test.go b/internal/db/bundb/account_test.go index e03300700..d7f0c1c72 100644 --- a/internal/db/bundb/account_test.go +++ b/internal/db/bundb/account_test.go @@ -336,6 +336,7 @@ func (suite *AccountTestSuite) TestInsertAccountWithDefaults() { suite.Equal("en", newAccount.Language) suite.WithinDuration(time.Now(), newAccount.CreatedAt, 30*time.Second) suite.WithinDuration(time.Now(), newAccount.UpdatedAt, 30*time.Second) + suite.True(*newAccount.Locked) suite.False(*newAccount.Memorial) suite.False(*newAccount.Bot) suite.False(*newAccount.Discoverable) -- cgit v1.2.3