fix(tests): fixed failling backend test

This commit is contained in:
Torkel Ödegaard
2015-09-11 08:58:45 +02:00
parent fb9e91e486
commit 8174b9f041
5 changed files with 33 additions and 20 deletions

View File

@ -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")
})