mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-13 02:17:29 -06:00
trying emoji stuff
This commit is contained in:
parent
9826f3f6d9
commit
046c5e91fb
7 changed files with 85 additions and 12 deletions
|
|
@ -121,7 +121,7 @@ func (suite *MediaUtilTestSuite) TestDeriveThumbnailFromJPEG() {
|
|||
assert.Nil(suite.T(), err)
|
||||
|
||||
// clean it up and validate the clean version
|
||||
imageAndMeta, err := deriveThumbnail(b, "image/jpeg")
|
||||
imageAndMeta, err := deriveThumbnail(b, "image/jpeg", 256, 256)
|
||||
assert.Nil(suite.T(), err)
|
||||
|
||||
assert.Equal(suite.T(), 256, imageAndMeta.width)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue