fix dependencies and core

This commit is contained in:
Mario Romano
2016-05-21 04:25:44 +01:00
parent 5c8e37073f
commit c13d6a7fc3
70 changed files with 840 additions and 288 deletions

View File

@@ -20,7 +20,7 @@ import { TEST_BROWSER_PLATFORM_PROVIDERS, TEST_BROWSER_APPLICATION_PROVIDERS } f
import { it, describe, expect, injectAsync, beforeEachProviders, TestComponentBuilder, setBaseTestProviders } from 'angular2/testing';
import { provide } from 'angular2/core';
import { UploadButtonComponent } from './upload-button.component';
import { TranslateService } from 'ng2-translate/ng2-translate';
import { AlfrescoTranslationService } from 'ng2-alfresco-core/dist/ng2-alfresco-core';
import { TranslationMock } from '../assets/translation.service.mock';
describe('AlfrescoUploadButton', () => {
@@ -29,7 +29,7 @@ describe('AlfrescoUploadButton', () => {
beforeEachProviders(() => {
return [
provide(TranslateService, {useClass: TranslationMock})
provide(AlfrescoTranslationService, {useClass: TranslationMock})
];
});