summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/notification_test.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2021-08-31 15:59:12 +0200
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2021-09-01 11:11:26 +0200
commit2786b5f88742c3f32b8ed497df3737cb4f57caec (patch)
treec088b71b228a52fb3bbf37628caea82ff7a42067 /internal/gtsmodel/notification_test.go
parentgo fmt (diff)
downloadgotosocial-2786b5f88742c3f32b8ed497df3737cb4f57caec.tar.xz
change muchos things
Diffstat (limited to 'internal/gtsmodel/notification_test.go')
-rw-r--r--internal/gtsmodel/notification_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtsmodel/notification_test.go b/internal/gtsmodel/notification_test.go
index 29da2f269..507a2cbfd 100644
--- a/internal/gtsmodel/notification_test.go
+++ b/internal/gtsmodel/notification_test.go
@@ -89,7 +89,7 @@ func (suite *NotificationValidateTestSuite) TestValidateNotificationNoCreatedAt(
m.CreatedAt = time.Time{}
err := gtsmodel.ValidateStruct(*m)
- suite.EqualError(err, "Key: 'Notification.CreatedAt' Error:Field validation for 'CreatedAt' failed on the 'required' tag")
+ suite.NoError(err)
}
func TestNotificationValidateTestSuite(t *testing.T) {