From a680fc103931f96e21ff20f379b2ca00feb00458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Pablo=20Villaf=C3=A1=C3=B1ez?= Date: Thu, 16 Sep 2021 11:09:59 +0200 Subject: [PATCH] Adjust test configuration --- accounts/pkg/proto/v0/accounts.pb.micro_test.go | 1 + ocs/pkg/server/http/svc_test.go | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/accounts/pkg/proto/v0/accounts.pb.micro_test.go b/accounts/pkg/proto/v0/accounts.pb.micro_test.go index 22328f2ce7..0f5cf724ed 100644 --- a/accounts/pkg/proto/v0/accounts.pb.micro_test.go +++ b/accounts/pkg/proto/v0/accounts.pb.micro_test.go @@ -81,6 +81,7 @@ func init() { cfg := config.New() cfg.Repo.Disk.Path = dataPath + cfg.Server.DemoUsersAndGroups = true var hdlr *svc.Service var err error diff --git a/ocs/pkg/server/http/svc_test.go b/ocs/pkg/server/http/svc_test.go index 965edd3973..7c46558f0b 100644 --- a/ocs/pkg/server/http/svc_test.go +++ b/ocs/pkg/server/http/svc_test.go @@ -538,7 +538,9 @@ func init() { ) c := &accountsCfg.Config{ - Server: accountsCfg.Server{}, + Server: accountsCfg.Server{ + DemoUsersAndGroups: true, + }, Repo: accountsCfg.Repo{ Disk: accountsCfg.Disk{ Path: dataPath,