summaryrefslogtreecommitdiff
path: root/internal/federation/dereferencing/media_test.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-10 18:36:09 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-10 18:36:09 +0100
commite0f9323b9aa98b55f3557086f7b0a17047943f39 (patch)
tree5a2bbcb84b87d2530e804067d72c1bea672412a1 /internal/federation/dereferencing/media_test.go
parentadd async test (diff)
downloadgotosocial-e0f9323b9aa98b55f3557086f7b0a17047943f39.tar.xz
test the media manager a bit, add shutdown logic
Diffstat (limited to 'internal/federation/dereferencing/media_test.go')
-rw-r--r--internal/federation/dereferencing/media_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/federation/dereferencing/media_test.go b/internal/federation/dereferencing/media_test.go
index 1f076f62c..61ee6edb6 100644
--- a/internal/federation/dereferencing/media_test.go
+++ b/internal/federation/dereferencing/media_test.go
@@ -52,8 +52,8 @@ func (suite *AttachmentTestSuite) TestDereferenceAttachmentBlocking() {
})
suite.NoError(err)
- // make a blocking call to load the attachment from the in-process media
- attachment, err := media.LoadAttachment(ctx)
+ // make a blocking call to load the attachment from the in-process media
+ attachment, err := media.Load(ctx)
suite.NoError(err)
suite.NotNil(attachment)