mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
migrate cloud components
This commit is contained in:
@@ -61,16 +61,9 @@ import {
|
|||||||
mockMyNodeId
|
mockMyNodeId
|
||||||
} from '../../../mocks/attach-file-cloud-widget.mock';
|
} from '../../../mocks/attach-file-cloud-widget.mock';
|
||||||
import { ProcessServiceCloudTestingModule } from '../../../../testing/process-service-cloud.testing.module';
|
import { ProcessServiceCloudTestingModule } from '../../../../testing/process-service-cloud.testing.module';
|
||||||
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
import { ContentNodeSelectorPanelService, NewVersionUploaderDataAction, NewVersionUploaderService } from '@alfresco/adf-content-services';
|
||||||
import {
|
|
||||||
ContentModule,
|
|
||||||
ContentNodeSelectorPanelService,
|
|
||||||
NewVersionUploaderDataAction,
|
|
||||||
NewVersionUploaderService
|
|
||||||
} from '@alfresco/adf-content-services';
|
|
||||||
import { By } from '@angular/platform-browser';
|
import { By } from '@angular/platform-browser';
|
||||||
import { of, throwError } from 'rxjs';
|
import { of, throwError } from 'rxjs';
|
||||||
import { FormCloudModule } from '../../../form-cloud.module';
|
|
||||||
|
|
||||||
const mockNodeToBeVersioned: any = {
|
const mockNodeToBeVersioned: any = {
|
||||||
isFile: true,
|
isFile: true,
|
||||||
@@ -150,8 +143,7 @@ describe('AttachFileCloudWidgetComponent', () => {
|
|||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
TestBed.configureTestingModule({
|
TestBed.configureTestingModule({
|
||||||
imports: [ProcessServiceCloudTestingModule, AttachFileCloudWidgetComponent, FormCloudModule, ContentModule.forRoot()],
|
imports: [ProcessServiceCloudTestingModule, AttachFileCloudWidgetComponent]
|
||||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
||||||
});
|
});
|
||||||
notificationService = TestBed.inject(NotificationService);
|
notificationService = TestBed.inject(NotificationService);
|
||||||
downloadService = TestBed.inject(DownloadService);
|
downloadService = TestBed.inject(DownloadService);
|
||||||
|
Reference in New Issue
Block a user