diff --git a/addons/mail/static/tests/helpers/test_utils.js b/addons/mail/static/tests/helpers/test_utils.js index b0f1900c161..8e4e98c845c 100644 --- a/addons/mail/static/tests/helpers/test_utils.js +++ b/addons/mail/static/tests/helpers/test_utils.js @@ -386,20 +386,6 @@ function getCreateComposerComponent({ env, target }) { }; } -function getCreateComposerSuggestionViewComponent({ env, target }) { - return async function createComposerSuggestionViewComponent(composer, props) { - const composerView = env.services.messaging.modelManager.messaging.models['ComposerView'].create({ - qunitTest: insertAndReplace({ - composer: replace(composer), - }), - }); - await createRootMessagingComponent(env, "ComposerSuggestionView", { - props: { ...props, composerView: composerView }, - target, - }); - }; -} - function getCreateNotificationListComponent({ env, target }) { return async function createNotificationListComponent({ filter = 'all' } = {}) { const notificationListView = env.services.messaging.modelManager.messaging.models['NotificationListView'].create({ @@ -587,7 +573,6 @@ async function start(param0 = {}) { afterNextRender, click: getClick({ afterNextRender }), createComposerComponent: getCreateComposerComponent({ env: webClient.env, target }), - createComposerSuggestionViewComponent: getCreateComposerSuggestionViewComponent({ env: webClient.env, target }), createNotificationListComponent: getCreateNotificationListComponent({ env: webClient.env, target }), createRootMessagingComponent: (componentName, props) => createRootMessagingComponent(webClient.env, componentName, { props, target }), env: webClient.env,