mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-19 17:14:45 +00:00
* fix upload failing tests (#1672)
This commit is contained in:
parent
399ac52661
commit
4e594cf46f
@ -55,7 +55,7 @@ import { MaterialModule } from '../material.module';
|
|||||||
import { INITIAL_STATE } from '../store/initial-state';
|
import { INITIAL_STATE } from '../store/initial-state';
|
||||||
import { TranslatePipeMock } from './translate-pipe.directive';
|
import { TranslatePipeMock } from './translate-pipe.directive';
|
||||||
import { TranslateServiceMock } from './translation.service';
|
import { TranslateServiceMock } from './translation.service';
|
||||||
import { Observable, of } from 'rxjs';
|
import { BehaviorSubject, Observable, of } from 'rxjs';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
@ -86,6 +86,7 @@ import { Observable, of } from 'rxjs';
|
|||||||
{
|
{
|
||||||
provide: DiscoveryApiService,
|
provide: DiscoveryApiService,
|
||||||
useValue: {
|
useValue: {
|
||||||
|
ecmProductInfo$: new BehaviorSubject<EcmProductVersionModel>(null),
|
||||||
getEcmProductInfo(): Observable<EcmProductVersionModel> {
|
getEcmProductInfo(): Observable<EcmProductVersionModel> {
|
||||||
return of(new EcmProductVersionModel({ version: '10.0.0' }));
|
return of(new EcmProductVersionModel({ version: '10.0.0' }));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user