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);