mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-27 18:33:32 -06:00
Tidying and linting
This commit is contained in:
parent
e497794059
commit
1d017d0563
11 changed files with 85 additions and 92 deletions
|
|
@ -57,8 +57,6 @@ type AccountCreateTestSuite struct {
|
|||
config *config.Config
|
||||
log *logrus.Logger
|
||||
testAccountLocal *model.Account
|
||||
testAccountRemote *model.Account
|
||||
testUser *model.User
|
||||
testApplication *model.Application
|
||||
testToken oauth2.TokenInfo
|
||||
mockOauthServer *oauth.MockServer
|
||||
|
|
@ -124,10 +122,10 @@ func (suite *AccountCreateTestSuite) SetupSuite() {
|
|||
MaxImageSize: 2 << 20,
|
||||
}
|
||||
c.StorageConfig = &config.StorageConfig{
|
||||
Backend: "local",
|
||||
BasePath: "/tmp",
|
||||
Backend: "local",
|
||||
BasePath: "/tmp",
|
||||
ServeProtocol: "http",
|
||||
ServeHost: "localhost",
|
||||
ServeHost: "localhost",
|
||||
ServeBasePath: "/fileserver/media",
|
||||
}
|
||||
suite.config = c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue