Test fixes

This commit is contained in:
Denys Vuika
2016-06-23 15:02:45 +01:00
committed by Will Abson
parent 65a4271b89
commit a885e1ee3b
3 changed files with 4 additions and 7 deletions

View File

@@ -19,8 +19,7 @@ import {Observable} from 'rxjs/Rx';
import {
AlfrescoSettingsService,
AlfrescoAuthenticationService,
AlfrescoContentService
AlfrescoAuthenticationService
} from 'ng2-alfresco-core';
import {AlfrescoSearchService} from './../../src/services/alfresco-search.service';
@@ -30,10 +29,9 @@ export class AlfrescoServiceMock extends AlfrescoSearchService {
constructor(
settings: AlfrescoSettingsService = null,
authService: AlfrescoAuthenticationService = null,
contentService: AlfrescoContentService = null
authService: AlfrescoAuthenticationService = null
) {
super(settings, authService, contentService);
super(settings, authService);
}
getFolder(folder: string) {

View File

@@ -15,7 +15,6 @@
* limitations under the License.
*/
import { provide } from '@angular/core';
import { it, describe, expect, inject, beforeEachProviders } from '@angular/core/testing';
import { TestComponentBuilder } from '@angular/compiler/testing';
import { RouteParams } from '@angular/router-deprecated';

View File

@@ -26,6 +26,6 @@ describe('AlfrescoSearchService', () => {
let service: AlfrescoSearchService;
beforeEach(() => {
service = new AlfrescoSearchService(null, null, null);
service = new AlfrescoSearchService(null, null);
});
});