[MGNLUI-8612] FakeMagnoliaUI should register the default RepositoryManager with the compontent provider Created: 14/Dec/23 Updated: 21/Dec/23 Resolved: 15/Dec/23 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Michael Duerig | Assignee: | Michael Duerig |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | dx-core-6.3 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Epic Link: | Collect Usage Metrics | ||||||||
| Work Started: | |||||||||
| Approved: |
Yes
|
||||||||
| Description |
|
When using FakeMagnoliaUI together with repository tests, the underlying repository will not be closed after the test. The reason is the default RepositoryManager instance to being registered with the component provider set up by {{FakeMagnoliaUI. }} To fix this we should register the default RepositoryManager when FakeMagnoliaUI starts. |
| Comments |
| Comment by Michael Duerig [ 14/Dec/23 ] |
|
PR: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/2567/overview |