mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 04:02:30 +08:00
fix(tests): fixed failling backend test
This commit is contained in:
@ -11,9 +11,11 @@ import (
|
||||
func TestLoadingSettings(t *testing.T) {
|
||||
|
||||
Convey("Testing loading settings from ini file", t, func() {
|
||||
skipStaticRootValidation = true
|
||||
|
||||
Convey("Given the default ini files", func() {
|
||||
NewConfigContext(&CommandLineArgs{HomePath: "../../"})
|
||||
err := NewConfigContext(&CommandLineArgs{HomePath: "../../"})
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
So(AdminUser, ShouldEqual, "admin")
|
||||
})
|
||||
|
Reference in New Issue
Block a user