diff options
Diffstat (limited to 'internal/processing/account_test.go')
-rw-r--r-- | internal/processing/account_test.go | 2 |
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") } |