Selaa lähdekoodia

fix unit tests

Olivier Massot 2 vuotta sitten
vanhempi
commit
bbff5c11ce

+ 1 - 1
tests/units/services/layout/menuBuilder/configurationMenuBuilder.test.ts

@@ -63,7 +63,7 @@ describe('build', () => {
         ability.can = vi.fn((action: string, subject: string) => action === 'display' && subject === 'cmf_licence_page')
 
         expect(menuBuilder.build()).toEqual(
-            {label: 'cmf_licence_generate', icon: undefined, to: 'https://mydomain.com/#/licence_cmf/organization', type: MENU_LINK_TYPE.V1, active: false}
+            {label: 'cmf_licence_generate', icon: undefined, to: '/cmf_licence_structure', type: MENU_LINK_TYPE.INTERNAL, active: false}
         )
     })