Test(Subscription): activating second license
What does this MR do and why?
Describe in detail what your merge request does and why.
Add a test to cover avtiving a second cloud license when one is already active. See more information here: !106492 (diffs, comment 1211264215)
Screenshots or screen recordings
Type | Before | After |
---|---|---|
Legacy license | ![]() |
![]() |
Offline Cloud .icense | ![]() |
![]() |
Online Cloud license | ![]() |
![]() |
How to set up and validate locally
- Have CustomersDot set up and running with an active license
- Navigate to
/admin/subscription
on GitLab - Link the subscription if one is not already linked
- Verify that the activation code button shows regardless of license type
- Verify that adding another activation code works without failures
As a workaround, I've added a patch, where you can "comment in" the license you need to test: test-different-licenses.patch
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #386050 (closed)
Edited by Michael Lunøe