소스 검색

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()
 }