Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-373

SaasTestsuiteInitializer should expose method to add admin-user

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Neutral Neutral
    • None
    • None

      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 

      SaasTestsuiteInitializer#addUser(Subscription, userRole)
      SaasTestsuiteInitializer#addAdminUser

      Note: I have changed it from #addUser(Subscription, userRole) to #addAdminUser.
      atm, the others roles cannot be enrolled, because we lack other users so far.

      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)

       

        Acceptance criteria

              cmeier Christoph Meier
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1h
                    1h