Nested Folders: Add tests for store methods (#57662)

* Nested Folders: Add store tests

* Fix parent order

* Fix update

* skip tests!

* Export test helpers for now
This commit is contained in:
Sofia Papagiannaki
2022-11-03 15:21:41 +02:00
committed by GitHub
parent 89548df5a4
commit 5c973e58bd
10 changed files with 854 additions and 86 deletions

View File

@@ -141,6 +141,7 @@ func (s *Service) GetOrCreate(ctx context.Context, orgName string) (int64, error
orga.Name = MainOrgName
orga.ID = int64(s.cfg.AutoAssignOrgId)
} else {
orga = &org.Org{}
orga.Name = orgName
}