summaryrefslogtreecommitdiff
path: root/internal/processing/account_test.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-03-31 15:19:50 +0200
committerLibravatar GitHub <noreply@github.com>2023-03-31 15:19:50 +0200
commit60639a6a0ee9ee79a93d998697b083314e840e9c (patch)
treecdb3269d2d61224a754bc85a8ee0d62e69184ab5 /internal/processing/account_test.go
parent[bugfix] Fix report serialization errors caused by user delete (#1659) (diff)
downloadgotosocial-60639a6a0ee9ee79a93d998697b083314e840e9c.tar.xz
[bugfix] Fix multiple "updated_at" columns for media updates (#1660)
* [bugfix] Fix multiple "updated_at" columns for media updates * silly unrelated race condition
Diffstat (limited to 'internal/processing/account_test.go')
-rw-r--r--internal/processing/account_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/account_test.go b/internal/processing/account_test.go
index fb66d7d0a..83eebedba 100644
--- a/internal/processing/account_test.go
+++ b/internal/processing/account_test.go
@@ -88,7 +88,7 @@ func (suite *AccountTestSuite) TestAccountDeleteLocal() {
if !testrig.WaitFor(func() bool {
dbAccount, _ := suite.db.GetAccountByID(ctx, deletingAccount.ID)
- return suite.WithinDuration(dbAccount.SuspendedAt, time.Now(), 30*time.Second)
+ return !dbAccount.SuspendedAt.IsZero()
}) {
suite.FailNow("timed out waiting for account to be deleted")
}