fixign tests.
This commit is contained in:
parent
3973c4e003
commit
35ca4a4e1b
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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[]> {
|
||||
|
|
Loading…
Reference in New Issue