From fd2e9b07f19bec1c33a0a36758be93858bd8a817 Mon Sep 17 00:00:00 2001 From: DominikIwanek Date: Mon, 17 Mar 2025 08:56:50 +0100 Subject: [PATCH] Angular 18 upgrade --- .../details/details.component.spec.ts | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/projects/aca-content/src/lib/components/details/details.component.spec.ts b/projects/aca-content/src/lib/components/details/details.component.spec.ts index d66bedd2d..4acf4daea 100644 --- a/projects/aca-content/src/lib/components/details/details.component.spec.ts +++ b/projects/aca-content/src/lib/components/details/details.component.spec.ts @@ -191,38 +191,6 @@ describe('DetailsComponent', () => { expect(component.nodeIcon).toContain(expectedIcon); }); - it('should set aspectActions from extension mock', () => { - const extensionMock = { - getAllowedSidebarActions: () => - of([ - { - id: 'app.sidebar.close', - order: 100, - title: 'close', - icon: 'highlight_off' - } - ]) - }; - - extensionsServiceMock.getAllowedSidebarActions.and.returnValue(of(extensionMock)); - fixture.detectChanges(); - fixture - .whenStable() - .then(() => { - expect(component.aspectActions).toEqual([ - { - id: 'app.sidebar.close', - order: 100, - title: 'close', - icon: 'highlight_off' - } as ContentActionRef - ]); - }) - .catch((error) => { - fail(`An error occurred: ${error}`); - }); - }); - it('should disable the permissions tab for smart folders based on aspects', () => { node.entry.isFolder = true; node.entry.aspectNames = ['smf:customConfigSmartFolder'];