diff options
Diffstat (limited to 'config/defaultConfigProvider.go')
-rw-r--r-- | config/defaultConfigProvider.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/defaultConfigProvider.go b/config/defaultConfigProvider.go index 46f083ed2..822f421fa 100644 --- a/config/defaultConfigProvider.go +++ b/config/defaultConfigProvider.go @@ -75,6 +75,11 @@ func NewFrom(params maps.Params) Provider { } } +// NewWithTestDefaults is used in tests only. +func NewWithTestDefaults() Provider { + return SetBaseTestDefaults(New()) +} + // defaultConfigProvider is a Provider backed by a map where all keys are lower case. // All methods are thread safe. type defaultConfigProvider struct { |