mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-01 14:25:11 +08:00
95d3266bee
* Move UserRedirect into models/user/ * Fix lint & test * Fix lint * Fix lint * remove nolint comment * Fix lint * Move user follow and openid into models/user * Ignore the lint * Ignore the lint * Fix test * ignore stutters lint on UserOpenID
22 lines
425 B
Go
22 lines
425 B
Go
// 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.
|
|
|
|
package user
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
|
|
"code.gitea.io/gitea/models/unittest"
|
|
)
|
|
|
|
func TestMain(m *testing.M) {
|
|
unittest.MainTest(m, filepath.Join("..", ".."),
|
|
"email_address.yml",
|
|
"user_redirect.yml",
|
|
"follow.yml",
|
|
"user_open_id.yml",
|
|
)
|
|
}
|