Skip to content

Commit 9fa83dc

Browse files
committed
Fix test
1 parent b5c2c30 commit 9fa83dc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

models/login/main_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright 2020 The Gitea Authors. All rights reserved.
2+
// Use of this source code is governed by a MIT-style
3+
// license that can be found in the LICENSE file.
4+
5+
package login
6+
7+
import (
8+
"testing"
9+
10+
"code.gitea.io/gitea/models/db"
11+
)
12+
13+
func TestMain(m *testing.M) {
14+
db.MainTest(m, "..", "..")
15+
}

0 commit comments

Comments
 (0)