summaryrefslogtreecommitdiff
path: root/plugins/static/tests/static_plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-16 21:52:52 +0300
committerValery Piashchynski <[email protected]>2020-12-16 21:52:52 +0300
commita5431a6dd0dc1d803bd7cfa2bbcb017d85d0999e (patch)
tree873249c7bf427fec21dba377a7f84caaec853e87 /plugins/static/tests/static_plugin_test.go
parentdd0238723a153646631ba0a8c2577d74fce61214 (diff)
Use ERROR log level everywhere. Remove unused code from Reload plugin
Diffstat (limited to 'plugins/static/tests/static_plugin_test.go')
-rw-r--r--plugins/static/tests/static_plugin_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/static/tests/static_plugin_test.go b/plugins/static/tests/static_plugin_test.go
index 528d5eea..5bad54bf 100644
--- a/plugins/static/tests/static_plugin_test.go
+++ b/plugins/static/tests/static_plugin_test.go
@@ -25,7 +25,7 @@ import (
)
func TestStaticPlugin(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -133,7 +133,7 @@ func serveStaticSample(t *testing.T) {
}
func TestStaticDisabled(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -206,7 +206,7 @@ func staticDisabled(t *testing.T) {
}
func TestStaticFilesDisabled(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -282,7 +282,7 @@ func staticFilesDisabled(t *testing.T) {
}
func TestStaticFilesForbid(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{