[ADF-2569] fix reload app.config.json (#3124)

* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
This commit is contained in:
Eugenio Romano
2018-03-28 11:01:04 +01:00
committed by Denys Vuika
parent 21b8cd30ce
commit 9e2969b955
93 changed files with 228 additions and 436 deletions

View File

@@ -27,7 +27,6 @@ import { ContentMetadataService } from '../../services/content-metadata.service'
import { BasicPropertiesService } from '../../services/basic-properties.service';
import { PropertyGroupTranslatorService } from '../../services/property-groups-translator.service';
import { PropertyDescriptorsService } from '../../services/property-descriptors.service';
import { AlfrescoApiService } from '@alfresco/adf-core';
import { ContentMetadataConfigFactory } from '../../services/config/content-metadata-config.factory';
describe('ContentMetadataCardComponent', () => {
@@ -54,8 +53,7 @@ describe('ContentMetadataCardComponent', () => {
BasicPropertiesService,
PropertyGroupTranslatorService,
ContentMetadataConfigFactory,
PropertyDescriptorsService,
AlfrescoApiService
PropertyDescriptorsService
]
}).compileComponents();
}));

View File

@@ -27,7 +27,6 @@ import { ContentMetadataService } from '../../services/content-metadata.service'
import { BasicPropertiesService } from '../../services/basic-properties.service';
import { PropertyGroupTranslatorService } from '../../services/property-groups-translator.service';
import { PropertyDescriptorsService } from '../../services/property-descriptors.service';
import { AlfrescoApiService } from '@alfresco/adf-core';
import {
CardViewBaseItemModel,
CardViewComponent,
@@ -63,7 +62,6 @@ describe('ContentMetadataComponent', () => {
PropertyGroupTranslatorService,
PropertyDescriptorsService,
ContentMetadataConfigFactory,
AlfrescoApiService,
NodesApiService,
{ provide: LogService, useValue: { error: jasmine.createSpy('error') } }
]

View File

@@ -30,8 +30,7 @@ describe('PropertyDescriptorLoaderService', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
providers: [
PropertyDescriptorsService,
AlfrescoApiService
PropertyDescriptorsService
]
}).compileComponents();
}));