From 95593e488b5f77f47d944f7d91439c34b63ad9a0 Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Fri, 20 Sep 2024 12:43:26 -0400 Subject: [PATCH] migrate cloud components --- .../attach-file-cloud-widget.component.spec.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.spec.ts b/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.spec.ts index cd8746958a..cd582bb20e 100644 --- a/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.spec.ts +++ b/lib/process-services-cloud/src/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.spec.ts @@ -61,16 +61,9 @@ import { mockMyNodeId } from '../../../mocks/attach-file-cloud-widget.mock'; import { ProcessServiceCloudTestingModule } from '../../../../testing/process-service-cloud.testing.module'; -import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; -import { - ContentModule, - ContentNodeSelectorPanelService, - NewVersionUploaderDataAction, - NewVersionUploaderService -} from '@alfresco/adf-content-services'; +import { ContentNodeSelectorPanelService, NewVersionUploaderDataAction, NewVersionUploaderService } from '@alfresco/adf-content-services'; import { By } from '@angular/platform-browser'; import { of, throwError } from 'rxjs'; -import { FormCloudModule } from '../../../form-cloud.module'; const mockNodeToBeVersioned: any = { isFile: true, @@ -150,8 +143,7 @@ describe('AttachFileCloudWidgetComponent', () => { beforeEach(() => { TestBed.configureTestingModule({ - imports: [ProcessServiceCloudTestingModule, AttachFileCloudWidgetComponent, FormCloudModule, ContentModule.forRoot()], - schemas: [CUSTOM_ELEMENTS_SCHEMA] + imports: [ProcessServiceCloudTestingModule, AttachFileCloudWidgetComponent] }); notificationService = TestBed.inject(NotificationService); downloadService = TestBed.inject(DownloadService);