Vincent 2 years ago
parent
commit
3f147a052d

+ 2 - 2
tests/units/services/layout/menuBuilder/websiteListMenuBuilder.test.ts

@@ -48,7 +48,7 @@ describe('build', () => {
             {
             {
                 label: 'MyOrganization',
                 label: 'MyOrganization',
                 icon: undefined,
                 icon: undefined,
-                to: 'https://some-website.com/typo3',
+                to: 'https://some-website.com',
                 type: MENU_LINK_TYPE.EXTERNAL,
                 type: MENU_LINK_TYPE.EXTERNAL,
                 active: false
                 active: false
             }
             }
@@ -87,7 +87,7 @@ describe('build', () => {
         const result = menuBuilder.build() as MenuGroup
         const result = menuBuilder.build() as MenuGroup
 
 
         expect(result.children).toEqual([
         expect(result.children).toEqual([
-            { label: 'MyOrganization', icon: undefined, to: 'https://some-website.com/typo3', type: MENU_LINK_TYPE.EXTERNAL, active: false },
+            { label: 'MyOrganization', icon: undefined, to: 'https://some-website.com', type: MENU_LINK_TYPE.EXTERNAL, active: false },
             { label: 'parent1', icon: undefined, to: 'https://parent1.net', type: MENU_LINK_TYPE.EXTERNAL, active: false },
             { label: 'parent1', icon: undefined, to: 'https://parent1.net', type: MENU_LINK_TYPE.EXTERNAL, active: false },
             { label: 'parent2', icon: undefined, to: 'https://parent2.net', type: MENU_LINK_TYPE.EXTERNAL, active: false },
             { label: 'parent2', icon: undefined, to: 'https://parent2.net', type: MENU_LINK_TYPE.EXTERNAL, active: false },
         ])
         ])