diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2021-02-15 14:02:54 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2021-02-15 15:32:48 +0000 |
| commit | 0ad1c1631eb233b3e8f98b40f8c0813d0ad7acbe (patch) | |
| tree | b98b8995b9d06f4596b058829687d84875ef92a4 /addons/mail/static/src/models/thread/thread_tests.js | |
| parent | 53422e1c75e231436ba2928d80ebdfaa875dcf0e (diff) | |
[FIX] web: mock active_test for search and search_read
The support for "active_test" context key has been introduced in c2918c1
However, the context key is ignored in many mocked ORM methods (if not all).
This commit adds support for the `search` and `search_read` methods.
Note: this is done to easily write some tests in odoo/enterprise#16363
and it might be usefull to test futures features (or fixes) using this
context key.
closes odoo/odoo#66190
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread/thread_tests.js')
0 files changed, 0 insertions, 0 deletions
