fixign tests.

This commit is contained in:
Jason Kulatunga 2022-10-29 14:00:57 -07:00
parent 3973c4e003
commit 35ca4a4e1b
2 changed files with 4 additions and 2 deletions

View File

@ -5,11 +5,12 @@ import {Source} from '../../../models/database/source';
import * as BaseClient_GetRequest from './fixtures/BaseClient_GetRequest.json';
// @ts-ignore
import * as BaseClient_GetFhirVersion from './fixtures/BaseClient_GetFhirVersion.json';
import {ClientConfig} from '../../../models/client/client-config';
class TestClient extends BaseClient {
constructor(source: Source) {
super(source);
super(source, new ClientConfig());
}
}

View File

@ -11,11 +11,12 @@ import { v4 as uuidv4 } from 'uuid';
import * as FHIR401Client_ProcessBundle from './fixtures/FHIR401Client_ProcessBundle.json';
import {IDatabaseRepository} from '../../../database/interface';
import {PouchdbCrypto} from '../../../database/plugins/crypto';
import {ClientConfig} from '../../../models/client/client-config';
class TestClient extends FHIR401Client {
constructor(source: Source) {
super(source);
super(source, new ClientConfig());
}
public async ProcessBundle(bundle: IResourceBundleRaw): Promise<ResourceFhir[]> {