diff options
Diffstat (limited to 'modules/setting/cron_test.go')
-rw-r--r-- | modules/setting/cron_test.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/setting/cron_test.go b/modules/setting/cron_test.go index be97e59bd9..8d58cf8b48 100644 --- a/modules/setting/cron_test.go +++ b/modules/setting/cron_test.go @@ -7,7 +7,6 @@ import ( "testing" "github.com/stretchr/testify/assert" - ini "gopkg.in/ini.v1" ) func Test_getCronSettings(t *testing.T) { @@ -23,11 +22,11 @@ func Test_getCronSettings(t *testing.T) { iniStr := ` [cron.test] -Base = true -Second = white rabbit -Extend = true +BASE = true +SECOND = white rabbit +EXTEND = true ` - cfg, err := ini.Load([]byte(iniStr)) + cfg, err := newConfigProviderFromData(iniStr) assert.NoError(t, err) extended := &Extended{ |