mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Test fixes
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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';
|
||||
|
@@ -26,6 +26,6 @@ describe('AlfrescoSearchService', () => {
|
||||
let service: AlfrescoSearchService;
|
||||
|
||||
beforeEach(() => {
|
||||
service = new AlfrescoSearchService(null, null, null);
|
||||
service = new AlfrescoSearchService(null, null);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user