mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 19:59:37 -06:00
fix proxy integration tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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{},
|
||||
|
||||
Reference in New Issue
Block a user