Modifications in InternalApiTest and InternalFhirTest files to make it work locally...
commit2aae641c9c9755ea13b9dae6937f53be0bb7c2bd
authorsb-akash <114043656+sb-akash@users.noreply.github.com>
Tue, 15 Aug 2023 22:03:31 +0000 (15 18:03 -0400)
committerGitHub <noreply@github.com>
Tue, 15 Aug 2023 22:03:31 +0000 (15 18:03 -0400)
tree161b60b085e5ce6451511401a26fa952f0f0df13
parent7e6430877d1041a79365969c77499e9a88de6e99
Modifications in InternalApiTest and InternalFhirTest files to make it work locally in a new module (#6745)

* Modifications in InternalApiTest and InternalFhirTest files to make it work

Modifications :

InternalApiTest.php -

Added setIsLocalApi and setApiType  for the $restRequest,
Modified setRequestURI to setRequestPath for the $restRequest

InternalFhirTest.php -

Changed the URL endpoint from '/apis/api/facility' to '/apis/fhir/Patient' in the functions  testFetchApi and testAjaxApi,
Added setIsLocalApi and setApiType  for the $restRequest,
Modified setRequestURI to setRequestPath for the $restRequest,
Changed $routes list from $ROUTE_MAP to $FHIR_ROUTE_MAP to fetch the Fhir endpoints

* Update InternalApiTest.php removed white space

removed the white space that didn't allow the merge request
tests/api/InternalApiTest.php
tests/api/InternalFhirTest.php