From 9a2bb1a809725880c8efb2c0b6e8584b1ab79a3d Mon Sep 17 00:00:00 2001 From: tsm-odoo Date: Fri, 1 Apr 2022 16:51:32 +0000 Subject: [PATCH] [MOV] mail, test_mail: move activity menu test to test_mail In preparation for the adaptation of its adaptation to the new way to seed tests data, the `systray_activity_menu_test` is moved to test_mail. Indeed, with this adaptation, all fake models will be replaced by real ones, the `MailTestActivity` model is the perfect candidate for this. task-2792108 Part-of: odoo/odoo#87743 --- .../test_mail/static/tests/helpers/model_definitions_setup.js | 2 +- .../static/tests}/systray_activity_menu_tests.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename addons/{mail/static/tests/qunit_suite_tests => test_mail/static/tests}/systray_activity_menu_tests.js (100%) diff --git a/addons/test_mail/static/tests/helpers/model_definitions_setup.js b/addons/test_mail/static/tests/helpers/model_definitions_setup.js index dcb7e281b6a..6aca80ee9c9 100644 --- a/addons/test_mail/static/tests/helpers/model_definitions_setup.js +++ b/addons/test_mail/static/tests/helpers/model_definitions_setup.js @@ -2,4 +2,4 @@ import { addModelNamesToFetch } from '@mail/../tests/helpers/model_definitions_helpers'; -addModelNamesToFetch(['mail.test.track.all']); +addModelNamesToFetch(['mail.test.track.all', 'mail.test.activity']); diff --git a/addons/mail/static/tests/qunit_suite_tests/systray_activity_menu_tests.js b/addons/test_mail/static/tests/systray_activity_menu_tests.js similarity index 100% rename from addons/mail/static/tests/qunit_suite_tests/systray_activity_menu_tests.js rename to addons/test_mail/static/tests/systray_activity_menu_tests.js