[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:
Géry Debongnie
2016-06-17 13:32:38 +02:00
parent 00120a9271
commit 77e20f57d2
+1
View File
@@ -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,