diff options
author | 2021-09-23 11:13:11 +0200 | |
---|---|---|
committer | 2021-09-23 11:13:11 +0200 | |
commit | ddfd83d0fbdf4d6259bda25a57776f8341888b49 (patch) | |
tree | 4a2fa5ca3338962b4c7fdcc1710c35e9a76ae863 /internal/api/client/media | |
parent | remove hardcoded friendica user agent block (#239) (diff) | |
download | gotosocial-ddfd83d0fbdf4d6259bda25a57776f8341888b49.tar.xz |
update media processing (#244)
Diffstat (limited to 'internal/api/client/media')
-rw-r--r-- | internal/api/client/media/mediacreate_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/api/client/media/mediacreate_test.go b/internal/api/client/media/mediacreate_test.go index 53c1ce996..9ba059841 100644 --- a/internal/api/client/media/mediacreate_test.go +++ b/internal/api/client/media/mediacreate_test.go @@ -187,9 +187,9 @@ func (suite *MediaCreateTestSuite) TestStatusCreatePOSTImageHandlerSuccessful() Aspect: 1.7777778, }, Small: model.MediaDimensions{ - Width: 256, - Height: 144, - Size: "256x144", + Width: 512, + Height: 288, + Size: "512x288", Aspect: 1.7777778, }, Focus: model.MediaFocus{ @@ -197,7 +197,7 @@ func (suite *MediaCreateTestSuite) TestStatusCreatePOSTImageHandlerSuccessful() Y: 0.5, }, }, attachmentReply.Meta) - assert.Equal(suite.T(), "LjCZnlvyRkRn_NvzRjWF?urqV@f9", attachmentReply.Blurhash) + assert.Equal(suite.T(), "LjBzUo#6RQR._NvzRjWF?urqV@a$", attachmentReply.Blurhash) assert.NotEmpty(suite.T(), attachmentReply.ID) assert.NotEmpty(suite.T(), attachmentReply.URL) assert.NotEmpty(suite.T(), attachmentReply.PreviewURL) |