Friday, January 17, 2025
1 change · saas-17.2
Resolved issues and error corrections
This fixes a website test so it consistently checks the intended website when validating language links. It helps prevent false test failures and supports more reliable website behavior across multi-site setups.
Original PR description
The Issue: Prior to this commit, invoking _get_frontend resulted in the get_current_website function returning a different website than the one specified in the MockRequest. The Fix: To resolve this, we ensure the function selects the correct website by explicitly passing it in the context. runbot-64729