Преглед изворни кода

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