[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) <vsc@odoo.com>
This commit is contained in:
Lucas Lefèvre
2021-09-03 02:03:54 +00:00
parent 1dcf1acd3b
commit a63585dc91
@@ -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,