2021-11-18 08:58:42 +03:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2022-10-17 02:29:26 +03:00
|
|
|
package avatars_test
|
2021-11-18 08:58:42 +03:00
|
|
|
|
|
|
|
import (
|
|
|
|
"path/filepath"
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"code.gitea.io/gitea/models/unittest"
|
2022-08-25 05:31:57 +03:00
|
|
|
|
|
|
|
_ "code.gitea.io/gitea/models"
|
|
|
|
_ "code.gitea.io/gitea/models/activities"
|
|
|
|
_ "code.gitea.io/gitea/models/perm/access"
|
2021-11-18 08:58:42 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMain(m *testing.M) {
|
2022-04-14 16:58:21 +03:00
|
|
|
unittest.MainTest(m, &unittest.TestOptions{
|
|
|
|
GiteaRootPath: filepath.Join("..", ".."),
|
|
|
|
})
|
2021-11-18 08:58:42 +03:00
|
|
|
}
|