[FIX] web: prevent some rpcs in tests
each time a js test is run, it used to start the chat manager, which does a rpc. This simply prevent the chat manager to start.
This commit is contained in:
@@ -3,6 +3,7 @@ odoo.testing = {};
|
||||
|
||||
odoo.testing.start_services = function () {
|
||||
var factories = odoo.__DEBUG__.factories;
|
||||
delete factories['mail.chat_manager'];
|
||||
var jobs = _.map(factories, function (factory, name) {
|
||||
return {
|
||||
name: name,
|
||||
|
||||
Reference in New Issue
Block a user