I have removed the end of the test which was to 'Verify user downgraded to free license'
- This is not needed
I have also updated getLicenseKey - specifically how it handles the expected 200 response
There are two test files, license.activate.spec.ts and license.manage.spec.ts
These test files each contain a test:
- Creates, activates, and deletes an online license for a self hosted account - license.activate.spec.ts
- Retrieves plans, creates checkout session, and updates license - license.manage.spec.ts
Updated and created API files
- StripeAPI
- LicenseAPI
- internal-api LicenseAPI
- index & AccountInternalAPI also updated to reflect API file changes