mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 15:48:07 -06:00
fiddling about
This commit is contained in:
parent
b713ccac9f
commit
9a57dac5a1
17 changed files with 359 additions and 123 deletions
|
|
@ -139,7 +139,7 @@ func (suite *MediaTestSuite) TearDownTest() {
|
|||
|
||||
func (suite *MediaTestSuite) TestSetHeaderOrAvatarForAccountID() {
|
||||
// load test image
|
||||
f, err := ioutil.ReadFile("./test/test-jpeg.jpg")
|
||||
f, err := ioutil.ReadFile("../../testrig/media/test-jpeg.jpg")
|
||||
assert.Nil(suite.T(), err)
|
||||
|
||||
ma, err := suite.mediaHandler.SetHeaderOrAvatarForAccountID(f, "weeeeeee", "header")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue