summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/user_test.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-08-30 13:38:06 +0200
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2021-09-01 11:11:26 +0200
commitdc2e1bf9aba9b52b6de979aadb1a0efcbd07f088 (patch)
treed4104270d6ce275d0cded0459bf3168cab3526ab /internal/gtsmodel/user_test.go
parentstatusmute annotations (diff)
downloadgotosocial-dc2e1bf9aba9b52b6de979aadb1a0efcbd07f088.tar.xz
more work on struct validation
Diffstat (limited to 'internal/gtsmodel/user_test.go')
-rw-r--r--internal/gtsmodel/user_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtsmodel/user_test.go b/internal/gtsmodel/user_test.go
index c1a9bf849..0608f609a 100644
--- a/internal/gtsmodel/user_test.go
+++ b/internal/gtsmodel/user_test.go
@@ -33,7 +33,7 @@ func happyUser() *gtsmodel.User {
LastEmailedAt: time.Now(),
ConfirmationToken: "",
ConfirmedAt: time.Now(),
- ConfirmationSentAt: time.Now(),
+ ConfirmationSentAt: time.Time{},
UnconfirmedEmail: "",
Moderator: false,
Admin: false,