diff --git a/src/resources/prescription_search_response.ts b/src/resources/prescription_search_sandbox.ts similarity index 100% rename from src/resources/prescription_search_response.ts rename to src/resources/prescription_search_sandbox.ts diff --git a/src/sandbox-spine-client.ts b/src/sandbox-spine-client.ts index 34140ec..dc6d0c3 100644 --- a/src/sandbox-spine-client.ts +++ b/src/sandbox-spine-client.ts @@ -2,7 +2,7 @@ import {AxiosResponse} from "axios" import {SpineClient} from "./spine-client" import {StatusCheckResponse} from "./status" import CLINICAL_CONTENT_VIEW_SANDBOX_RESPONSE from "./resources/clinical_content_view_sandbox" -import PRESCRIPTION_SEARCH_RESPONSE from "./resources/prescription_search_response" +import PRESCRIPTION_SEARCH_SANDBOX_RESPONSE from "./resources/prescription_search_sandbox" export class SandboxSpineClient implements SpineClient { async getStatus(): Promise { @@ -34,7 +34,7 @@ export class SandboxSpineClient implements SpineClient { async prescriptionSearch(): Promise { const response: AxiosResponse = { - data: PRESCRIPTION_SEARCH_RESPONSE, + data: PRESCRIPTION_SEARCH_SANDBOX_RESPONSE, status: 200, statusText: "OK" } as unknown as AxiosResponse