mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-28 21:38:25 +00:00
This is two changes: Replacing all usages of SimpleLogger with it's interface SimpleLogging which makes it easier to swap out loggers going forward Nukes SimpleLogger in favor of StructuredLogger which allows us to better analyze logs in our log management system we choose.
This commit is contained in:
@@ -29,6 +29,7 @@ import (
|
||||
"github.com/runatlantis/atlantis/server"
|
||||
"github.com/runatlantis/atlantis/server/events/locking/mocks"
|
||||
"github.com/runatlantis/atlantis/server/events/models"
|
||||
"github.com/runatlantis/atlantis/server/logging"
|
||||
sMocks "github.com/runatlantis/atlantis/server/mocks"
|
||||
. "github.com/runatlantis/atlantis/testing"
|
||||
)
|
||||
@@ -106,6 +107,7 @@ func TestIndex_Success(t *testing.T) {
|
||||
Router: r,
|
||||
AtlantisVersion: atlantisVersion,
|
||||
AtlantisURL: u,
|
||||
Logger: logging.NewNoopLogger(t),
|
||||
}
|
||||
req, _ := http.NewRequest("GET", "", bytes.NewBuffer(nil))
|
||||
w := httptest.NewRecorder()
|
||||
|
||||
Reference in New Issue
Block a user