From 4e594cf46f22c81a2a6c75dff852eb02cb194fcb Mon Sep 17 00:00:00 2001 From: dhrn <14145706+dhrn@users.noreply.github.com> Date: Mon, 14 Sep 2020 21:17:47 +0530 Subject: [PATCH] * fix upload failing tests (#1672) --- src/app/testing/app-testing.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/testing/app-testing.module.ts b/src/app/testing/app-testing.module.ts index 80bb2b560..0fef4b688 100644 --- a/src/app/testing/app-testing.module.ts +++ b/src/app/testing/app-testing.module.ts @@ -55,7 +55,7 @@ import { MaterialModule } from '../material.module'; import { INITIAL_STATE } from '../store/initial-state'; import { TranslatePipeMock } from './translate-pipe.directive'; import { TranslateServiceMock } from './translation.service'; -import { Observable, of } from 'rxjs'; +import { BehaviorSubject, Observable, of } from 'rxjs'; @NgModule({ imports: [ @@ -86,6 +86,7 @@ import { Observable, of } from 'rxjs'; { provide: DiscoveryApiService, useValue: { + ecmProductInfo$: new BehaviorSubject(null), getEcmProductInfo(): Observable { return of(new EcmProductVersionModel({ version: '10.0.0' })); }