summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-11-08 09:43:45 +0000
committerThibault Delavallée <tde@odoo.com>2019-11-20 16:01:08 +0000
commitfa46590ed29cb06ef3f81823816d34531d946429 (patch)
tree16369f3a84654c820a207d773db0d199fe5b4936 /addons/web/static/src/js/views/basic
parentb287504977e532fe2d178a4d62df6f9eb7a17f22 (diff)
[REF] test_mail_full: update module to new common
PURPOSE Currently tools and asserts for mail tests are located inside test_mail module. It makes difficult to re-use them in apps tests or force them to write custom quick and dirty tools and asserts. SPECIFICATIONS Update this module to new tools / asserts / helpers / classes defined in mail and test_mail. In this commit we remove the ``BaseFunctionalTest`` and replace it by a fresh ``TestSMSCommon`` that is the combination of ``TestMailCommon`` from mail and mass mailing with SMS mocks capabilities. That way all mocks and asserts are available in all sub test classes. ``MassSMSBaseFunctionalTest`` is not necessary anymore as everything is available directly with ``TestSMSCommon``. Coming from common update, we have notably * ``BaseFunctionalTest`` class is replaced by the new ``TestMailCommon`` pimped one; * ``assertNotifications`` is replaced by ``assertSinglePostNotifications`` (shortcut for a simple message_post) or ``assertPostNotifications`` (complete asserts involving several messages and notifications); * correctly invoke ``mock_mail_gateway`` when mocking email sending; * replace manual check of sent emails or ``assertEmails`` by ``assertSentEmails``; * remove custom mocks / checks and replace them by now standard mocks and assertions (if any); LINKS Task ID 2068986 PR #38070
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions