[MGNLTEST-373] SaasTestsuiteInitializer should expose method to add admin-user Created: 13/Dec/22 Updated: 19/Dec/22 Resolved: 13/Dec/22 |
|
| Status: | Closed |
| Project: | Magnolia Test Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Christoph Meier |
| Resolution: | Done | Votes: | 0 |
| Labels: | TPR-E2E | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 1h | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Epic Link: | subscription-life-cycle-support-by-test-fwk |
| Description |
|
SubscriptionManager#create(boolean) currently creates a sub. with only one user, the owner. iirc - an earlier version was also adding test.user.2 as an admin. This seems gone. To facilitate the process of adding a user within a Hooks class of a consumer module, we should implement
Note: I have changed it from #addUser(Subscription, userRole) to #addAdminUser. In a next step we also will need to add the editable.test.user - but this one is not yet created - though hoping to get it soon with SRE-3593 (after we were discussing the topic with Ruben)
|