mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-23 00:57:44 +01:00
remove orm debug setting from test case
This commit is contained in:
parent
ae2d868fd4
commit
8590c8d6bb
@ -134,12 +134,6 @@ const publicityOn = 1
|
||||
const publicityOff = 0
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
orm.Debug = true
|
||||
f, err := os.Create("/root/jtdbtest.out")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
orm.DebugLog = orm.NewLog(f)
|
||||
databases := []string{"mysql", "sqlite"}
|
||||
for _, database := range databases {
|
||||
log.Infof("run test cases for database: %s", database)
|
||||
|
Loading…
Reference in New Issue
Block a user