[IMP] mail, *: move model tests into/static/tests
* : mail_bot, website_livechat Task-2759560 Part-of: odoo/odoo#86464
This commit is contained in:
-4
@@ -3,8 +3,6 @@
|
||||
import { beforeEach, start } from '@mail/utils/test_utils';
|
||||
|
||||
QUnit.module('mail', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('attachment', {}, function () {
|
||||
QUnit.module('attachment_tests.js', {
|
||||
async beforeEach() {
|
||||
await beforeEach(this);
|
||||
@@ -134,5 +132,3 @@ QUnit.test('isViewable', async function (assert) {
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
-4
@@ -6,8 +6,6 @@ import { beforeEach, start } from '@mail/utils/test_utils';
|
||||
import { str_to_datetime } from 'web.time';
|
||||
|
||||
QUnit.module('mail', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('message', {}, function () {
|
||||
QUnit.module('message_tests.js', {
|
||||
async beforeEach() {
|
||||
await beforeEach(this);
|
||||
@@ -178,5 +176,3 @@ QUnit.test('message with body "test" should not be considered empty', async func
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
-4
@@ -3,8 +3,6 @@
|
||||
import { beforeEach, start } from '@mail/utils/test_utils';
|
||||
|
||||
QUnit.module('mail', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('messaging_menu', {}, function () {
|
||||
QUnit.module('messaging_menu_tests.js', {
|
||||
async beforeEach() {
|
||||
await beforeEach(this);
|
||||
@@ -34,5 +32,3 @@ QUnit.test('messaging menu counter should ignore unread messages in channels tha
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
-4
@@ -3,8 +3,6 @@
|
||||
import { beforeEach, start } from '@mail/utils/test_utils';
|
||||
|
||||
QUnit.module('mail', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('messaging', {}, function () {
|
||||
QUnit.module('messaging_tests.js', {
|
||||
async beforeEach() {
|
||||
await beforeEach(this);
|
||||
@@ -128,5 +126,3 @@ QUnit.test('openChat: open existing chat for user', async function (assert) {
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
-4
@@ -4,8 +4,6 @@ import { insert } from '@mail/model/model_field_command';
|
||||
import { beforeEach, start } from '@mail/utils/test_utils';
|
||||
|
||||
QUnit.module('mail', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('thread', {}, function () {
|
||||
QUnit.module('thread_tests.js', {
|
||||
async beforeEach() {
|
||||
await beforeEach(this);
|
||||
@@ -141,5 +139,3 @@ QUnit.test('create (chat)', async function (assert) {
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
-4
@@ -3,8 +3,6 @@
|
||||
import { beforeEach, start } from '@mail/utils/test_utils';
|
||||
|
||||
QUnit.module('mail_bot', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('messaging_initializer', {}, function () {
|
||||
QUnit.module('messaging_initializer_tests.js', {
|
||||
beforeEach() {
|
||||
beforeEach(this);
|
||||
@@ -46,5 +44,3 @@ QUnit.test('OdooBot initialized at init', async function (assert) {
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
-4
@@ -10,8 +10,6 @@ import FormView from 'web.FormView';
|
||||
import { mock } from 'web.test_utils';
|
||||
|
||||
QUnit.module('website_livechat', {}, function () {
|
||||
QUnit.module('models', {}, function () {
|
||||
QUnit.module('messaging_notification_handler', {}, function () {
|
||||
QUnit.module('messaging_notification_handler_tests.js', {
|
||||
async beforeEach() {
|
||||
await beforeEach(this);
|
||||
@@ -83,5 +81,3 @@ QUnit.test('should open chat window on send chat request to website visitor', as
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user