mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 13:37:29 -06:00
start refactor of media package
This commit is contained in:
parent
14c472c1ab
commit
6803c1682b
6 changed files with 183 additions and 195 deletions
|
|
@ -138,10 +138,10 @@ func (suite *MediaUtilTestSuite) TestDeriveThumbnailFromJPEG() {
|
|||
}
|
||||
|
||||
func (suite *MediaUtilTestSuite) TestSupportedImageTypes() {
|
||||
ok := SupportedImageType("image/jpeg")
|
||||
ok := supportedImage("image/jpeg")
|
||||
suite.True(ok)
|
||||
|
||||
ok = SupportedImageType("image/bmp")
|
||||
ok = supportedImage("image/bmp")
|
||||
suite.False(ok)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue