From a63585dc916f5d2f4b9d4892889507a7af94ce02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Lef=C3=A8vre?= Date: Wed, 25 Aug 2021 15:25:45 +0000 Subject: [PATCH] [FIX] web: Correct notification service name in mocks The service is called `notifications` when mocked in tests, instead of `notification` closes odoo/odoo#75859 Related: odoo/enterprise#20554 Signed-off-by: Vincent Schippefilt (vsc) --- addons/web/static/tests/helpers/mock_services.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/tests/helpers/mock_services.js b/addons/web/static/tests/helpers/mock_services.js index 1b9a45fe211..c48279f4f2e 100644 --- a/addons/web/static/tests/helpers/mock_services.js +++ b/addons/web/static/tests/helpers/mock_services.js @@ -252,7 +252,7 @@ export const mocks = { cookie: () => fakeCookieService, effect: () => effectService, // BOI The real service ? Is this what we want ? localization: makeFakeLocalizationService, - notifications: makeFakeNotificationService, + notification: makeFakeNotificationService, router: makeFakeRouterService, rpc: makeFakeRPCService, title: () => fakeTitleService,