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@klarrio.com>2021-08-30 13:38:06 +0200
commit6adec1ae4d95489e4e11c3dfc3be15a634b3a60f (patch)
tree0f123565cdaafac55425eeb9171dd0ef988c6a63 /internal/gtsmodel/user_test.go
parentMerge branch 'struct_validation' of github.com:superseriousbusiness/gotosocia... (diff)
downloadgotosocial-6adec1ae4d95489e4e11c3dfc3be15a634b3a60f.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,