Skip to content

Commit 032226b

Browse files
committed
Fix test
1 parent fa5ae7d commit 032226b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

routers/web/auth/main_test.go

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2018 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 auth
6+
7+
import (
8+
"path/filepath"
9+
"testing"
10+
11+
"code.gitea.io/gitea/models/unittest"
12+
)
13+
14+
func TestMain(m *testing.M) {
15+
unittest.MainTest(m, filepath.Join("..", "..", ".."))
16+
}

0 commit comments

Comments
 (0)