mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-26 15:23:33 -06:00
fix broken test path
This commit is contained in:
parent
ba84852d3e
commit
d996a474f0
1 changed files with 1 additions and 1 deletions
|
|
@ -143,7 +143,7 @@ func (suite *MediaTestSuite) TearDownTest() {
|
|||
|
||||
func (suite *MediaTestSuite) TestSetHeaderOrAvatarForAccountID() {
|
||||
// load test image
|
||||
f, err := ioutil.ReadFile("../../testrig/media/test-jpeg.jpg")
|
||||
f, err := ioutil.ReadFile("./test/test-jpeg.jpg")
|
||||
assert.Nil(suite.T(), err)
|
||||
|
||||
ma, err := suite.mediaHandler.ProcessHeaderOrAvatar(f, "weeeeeee", "header")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue