Skip to content
Snippets Groups Projects
Commit af85bb5e authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[IMP] web,*: do not deploy services in tests


*mail,point_of_sale,web_editor,website

In the tests, required services are deployed for each test
independently. There is no need to have, in additon, all services
deployed globally. Worse, it could conflict and lead to unexpected
results.

This commit ensures services are no longer deployed globally in
tests. It turns the module 'web.env' into a declarative module with
no side-effect, by moving the service deployment to main.js, which
isn't added to the tests page.

Task 2287397

closes odoo/odoo#53817

Signed-off-by: default avatarLucas Perais (lpe) <lpe@odoo.com>
parent ce3c7d87
No related branches found
No related tags found
No related merge requests found
Showing with 124 additions and 50 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment