mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Fix unit test
This commit is contained in:
parent
cab661064c
commit
07d5c86b1b
@ -23,6 +23,7 @@ import { AlfrescoSettingsServiceMock } from '../assets/AlfrescoSettingsService.s
|
||||
import { TranslationMock } from '../assets/translation.service.mock';
|
||||
import { UploadService } from '../services/upload.service';
|
||||
import { HTTP_PROVIDERS } from '@angular/http';
|
||||
import { EventEmitter } from '@angular/core';
|
||||
|
||||
declare var AlfrescoApi: any;
|
||||
|
||||
@ -171,7 +172,7 @@ describe('AlfrescoUploadDragArea', () => {
|
||||
it('should create a folder and call onFilesEntityDropped with the file inside the folder', done => {
|
||||
let component = componentFixture.componentInstance;
|
||||
component.currentFolderPath = '/root-fake-/sites-fake/document-library-fake';
|
||||
component.onSuccess = null;
|
||||
component.onSuccess = new EventEmitter();
|
||||
|
||||
componentFixture.detectChanges();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user