Skip to content

fixes BUG-46572: ws tests fail having modules in development

Asier Lostalé requested to merge alo-issues/openbravo:fix/46572-ws-test into master

When not having modules in development the response of the request to get the CSRF token is minified. Test making use of it looked for the token assuming it was minified making it fail when it was not.

The regexp to look for the token has been extended to allow optional blank spaces, also it has been simplified getting in a group directly the token value instead of parsing it afterward.

Merge request reports