Fixed critical env bug

The error occurred because the API changed the value of userinfo['environment'] from 'Test' to 'TEST'. This led to a problem in Bfabric_web_apps.BfabricInterface, line 93, where the environment lookup returned None:

environment_dict.get(userinfo['environment'], None)

As a result, the following line defaulted to the production system URL:

bfabric_client_config = BfabricClientConfig(base_url=token_response.get('webbase_data'))

Merge request reports

Loading