fix proxy integration tests

This commit is contained in:
A.Unger
2021-11-11 14:00:42 +01:00
parent 7eb2c25d65
commit e8559d17aa
2 changed files with 3 additions and 3 deletions

View File

@@ -551,7 +551,7 @@ func init() {
Path: dataPath,
},
},
Log: shared.Log{
Log: &shared.Log{
Level: "info",
Pretty: true,
Color: true,
@@ -562,7 +562,7 @@ func init() {
var err error
if hdlr, err = accountsSvc.New(
accountsSvc.Logger(oclog.LoggerFromConfig("accounts", c.Log)),
accountsSvc.Logger(oclog.LoggerFromConfig("accounts", *c.Log)),
accountsSvc.Config(c),
accountsSvc.RoleService(buildRoleServiceMock()),
); err != nil {

View File

@@ -215,7 +215,7 @@ func (tc *testCase) expectProxyTo(strURL string) testCase {
func testConfig(policy []config.Policy) *config.Config {
return &config.Config{
Log: shared.Log{},
Log: &shared.Log{},
Debug: config.Debug{},
HTTP: config.HTTP{},
Tracing: config.Tracing{},