diff options
author | 2023-06-17 17:49:11 +0200 | |
---|---|---|
committer | 2023-06-17 16:49:11 +0100 | |
commit | d8e16a226a570a7d262bdeb067273ce35b03cc7c (patch) | |
tree | 94a09ebe5501c01159efb8aa3e74d70da8db2f87 /internal/ap/extractattachments_test.go | |
parent | [bugfix] Accept non-multipart forms for account updates (#1896) (diff) | |
download | gotosocial-d8e16a226a570a7d262bdeb067273ce35b03cc7c.tar.xz |
[chore/bugfix] Refactor `ap/extract.go` functions, return URIs more reliably (#1897)
Diffstat (limited to 'internal/ap/extractattachments_test.go')
-rw-r--r-- | internal/ap/extractattachments_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ap/extractattachments_test.go b/internal/ap/extractattachments_test.go index 0005374ba..e3a40c7bb 100644 --- a/internal/ap/extractattachments_test.go +++ b/internal/ap/extractattachments_test.go @@ -34,7 +34,7 @@ func (suite *ExtractAttachmentsTestSuite) TestExtractAttachmentMissingURL() { d1.SetActivityStreamsUrl(streams.NewActivityStreamsUrlProperty()) attachment, err := ap.ExtractAttachment(d1) - suite.EqualError(err, "could not extract url") + suite.EqualError(err, "ExtractAttachment: error extracting attachment URL: ExtractURL: no valid URL property found") suite.Nil(attachment) } |