浏览代码

Disable logs in processhing_handler_test

DarthSim 3 年之前
父节点
当前提交
9b5001c219
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      processing_handler_test.go

+ 2 - 2
processing_handler_test.go

@@ -40,10 +40,10 @@ func (s *ProcessingHandlerTestSuite) SetupSuite() {
 
 	config.LocalFileSystemRoot = filepath.Join(wd, "/testdata")
 
-	logrus.SetOutput(ioutil.Discard)
-
 	initialize()
 
+	logrus.SetOutput(ioutil.Discard)
+
 	s.router = buildRouter()
 }