summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/testing.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-08-01 18:08:47 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-08-01 18:08:47 +0200
commitf6318cc753b9a521b2245159cce5dfe3c041a75e (patch)
tree961e6e80d9d123ccbab7da162b8ffdbb4decc669 /addons/web/static/src/js/testing.js
parent9ce24aea39793c197e88297934014e3fa5feca0c (diff)
Yiiiiha! This day was shitty but that damn tests finally work.
bzr revid: nicolas.vanhoren@openerp.com-20130801160847-tcx6va9x1kp0q7eo
Diffstat (limited to 'addons/web/static/src/js/testing.js')
-rw-r--r--addons/web/static/src/js/testing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/testing.js b/addons/web/static/src/js/testing.js
index 4e310a9f4a9..052fe3312bb 100644
--- a/addons/web/static/src/js/testing.js
+++ b/addons/web/static/src/js/testing.js
@@ -80,7 +80,7 @@ openerp.testing = {};
try {
return $.when(fn.apply(null, params)).then(function (result) {
// Wrap for RPC layer unwrapper thingy
- return {result: result};
+ return result;
});
} catch (e) {
// not sure why this looks like that