mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 05:47:29 -06:00
test the media manager a bit, add shutdown logic
This commit is contained in:
parent
0ef478584c
commit
e0f9323b9a
37 changed files with 688 additions and 354 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue