Test licensing: env variable LICENSE_OVERRIDE = active still returns license.isActive == false

Hi there,

I just wanted to doublecheck.

I followed the docs: https://developer.atlassian.com/platform/marketplace/listing-forge-apps/#testing-your-app-with-different-license-states

Environment Variable is set to LICENSE_OVERRIDE = active.

Now I expected that this turns license.isActive == true, but instead I am still seing license.isActive == false.

In the web I found someone who in his code is checking directly for the environment variable LICENSE_OVERRIDE before license.isActive == false for testing. That is the blog entry: Developing a Jira App: Three Tips for Atlassian Forge App Development — Moser Consulting

However, that seemed a bit cumbersome since I would prefer to directly manipulate license.isActive.

The way I am currently checking:

  if(context.license && !context.license.isActive){
    throw new Error("License is not active");
  }