diff --git a/src/common/config/config_test.go b/src/common/config/config_test.go index a41be8ff8..95c954975 100644 --- a/src/common/config/config_test.go +++ b/src/common/config/config_test.go @@ -85,7 +85,7 @@ func TestCommonConfig(t *testing.T) { t.Errorf("Expected TokenEndpoint: %s, fact: %s", token, TokenEndpoint()) } if LogLevel() != loglevel { - t.Errorf("Expected LogLevel: %s, fact: %s", loglevel, LogLevel) + t.Errorf("Expected LogLevel: %s, fact: %s", loglevel, LogLevel()) } os.Setenv("DATABASE", "sqlite") err = Reload() diff --git a/src/ui/config/config_test.go b/src/ui/config/config_test.go index a8b6df618..38df6641b 100644 --- a/src/ui/config/config_test.go +++ b/src/ui/config/config_test.go @@ -139,6 +139,6 @@ func TestProjectCreationRestrict(t *testing.T) { func TestInitAdminPassword(t *testing.T) { if InitialAdminPassword() != adminPassword { - t.Errorf("Expected adminPassword: %s, in fact: %s", adminPassword, InitialAdminPassword) + t.Errorf("Expected adminPassword: %s, in fact: %s", adminPassword, InitialAdminPassword()) } }