Adjust test configuration

This commit is contained in:
Juan Pablo Villafáñez
2021-09-16 11:09:59 +02:00
parent 502e77b185
commit a680fc1039
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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,