summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/testing.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-10-30 08:43:25 +0100
committerXavier Morel <xmo@openerp.com>2012-10-30 08:43:25 +0100
commit523f4a6e03e909156082f528acf4e50024e7b486 (patch)
treee3e32a885c8ce8915259a4cd4cc34ce1cc315166 /addons/web/static/src/js/testing.js
parente7fbd7290f430dd67e9b3f093aea837bdef6f81d (diff)
[FIX] db name being used to drop databases after rpc tests
xmo@openerp.com-20121029110154-5927gaix8k0ijl0c introduced a regression which wasn't caught by deferred piping (?) and caused databases to not be dropped after rpc tests bzr revid: xmo@openerp.com-20121030074325-wh39s75vj2zob9e0
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 744bd9fa2cd..de6b7aab1a4 100644
--- a/addons/web/static/src/js/testing.js
+++ b/addons/web/static/src/js/testing.js
@@ -271,7 +271,7 @@ openerp.testing = {};
return instance.session.rpc('/web/database/drop', {
fields: [
{name: 'drop_pwd', value: db.supadmin},
- {name: 'drop_db', value: db.dbname}
+ {name: 'drop_db', value: dbname}
]
});
}).pipe(function (result) {