* fix upload failing tests ()

This commit is contained in:
dhrn 2020-09-14 21:17:47 +05:30 committed by GitHub
parent 399ac52661
commit 4e594cf46f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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<EcmProductVersionModel>(null),
getEcmProductInfo(): Observable<EcmProductVersionModel> {
return of(new EcmProductVersionModel({ version: '10.0.0' }));
}