aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/commonConfig_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/commonConfig_test.go')
-rw-r--r--config/commonConfig_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/commonConfig_test.go b/config/commonConfig_test.go
index 106069bdc..b8130eb0d 100644
--- a/config/commonConfig_test.go
+++ b/config/commonConfig_test.go
@@ -92,7 +92,7 @@ status = 301
s, err := DecodeServer(cfg)
c.Assert(err, qt.IsNil)
- c.Assert(s.CompileConfig(loggers.NewErrorLogger()), qt.IsNil)
+ c.Assert(s.CompileConfig(loggers.NewDefault()), qt.IsNil)
c.Assert(s.MatchHeaders("/foo.jpg"), qt.DeepEquals, []types.KeyValueStr{
{Key: "X-Content-Type-Options", Value: "nosniff"},
@@ -145,7 +145,7 @@ func TestBuildConfigCacheBusters(t *testing.T) {
c := qt.New(t)
cfg := New()
conf := DecodeBuildConfig(cfg)
- l := loggers.NewInfoLogger()
+ l := loggers.NewDefault()
c.Assert(conf.CompileConfig(l), qt.IsNil)
m, err := conf.MatchCacheBuster(l, "assets/foo/main.js")