diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-08-17 10:37:51 +0200 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-08-17 16:20:06 +0200 |
| commit | 1edea9326c2617900a7000f6d0dc9b41ee36e641 (patch) | |
| tree | c814c127de6f8d9a501e2e855a4b3b42e85d7abd /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | bb5a9a6ae61162785a43bc7aadea1829f6b1b9cf (diff) | |
[FIX] web: tests: correctly unpatch classes
Before this commit, `testUtils.unpatch` was incorrectly
unpatching a class' properties.
That is caused by restoring the properties on the class
function itself, instead of the prototype of the class
function.
This commit fixes this issue by restoring properties on the
prototype function of the class on `testUtils.unpatch`.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
