summaryrefslogtreecommitdiff
path: root/addons/web/static/test/testing.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2016-06-16 16:03:46 +0200
committerGéry Debongnie <ged@odoo.com>2016-06-17 13:32:38 +0200
commit77e20f57d2cba906e27a97011cb3be54e819f06e (patch)
tree75d1e4e957304b4c56e7ac3a1f21c6ca9feec524 /addons/web/static/test/testing.js
parent00120a9271b8c52c1ed3a392e0e66f3e8c9a6893 (diff)
[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.
Diffstat (limited to 'addons/web/static/test/testing.js')
-rw-r--r--addons/web/static/test/testing.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/test/testing.js b/addons/web/static/test/testing.js
index a5f85a23029..2ec911740b2 100644
--- a/addons/web/static/test/testing.js
+++ b/addons/web/static/test/testing.js
@@ -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,