aboutsummaryrefslogtreecommitdiffstats
path: root/services/attachment/attachment_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/attachment/attachment_test.go')
-rw-r--r--services/attachment/attachment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/attachment/attachment_test.go b/services/attachment/attachment_test.go
index 142bcfe629..65475836be 100644
--- a/services/attachment/attachment_test.go
+++ b/services/attachment/attachment_test.go
@@ -41,6 +41,6 @@ func TestUploadAttachment(t *testing.T) {
attachment, err := repo_model.GetAttachmentByUUID(db.DefaultContext, attach.UUID)
assert.NoError(t, err)
- assert.EqualValues(t, user.ID, attachment.UploaderID)
+ assert.Equal(t, user.ID, attachment.UploaderID)
assert.Equal(t, int64(0), attachment.DownloadCount)
}