Skip to content

Commit

Permalink
sigh.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Dec 21, 2024
1 parent 07af562 commit 6b12d8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/versions/types/tests/validation/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ protected function _runFHIRValidationJAR(string $filename): array
* @param string $format Either xml or json
* @return string
*/
protected function fetchResourceBundle(string $format): string
protected function fetchResourceBundleBundle(string $format): string
{
if (isset($this->_fetchedResources[$format])) {
return $this->_fetchedResources[$format];
Expand Down Expand Up @@ -206,7 +206,7 @@ function_exists('json_last_error_msg') ? json_last_error_msg() : ('Code: '.json_

public function testFHIRValidationXML(): void
{
$sourceXML = $this->fetchResource('xml');
$sourceXML = $this->fetchResourceBundle('xml');
try {
$bundle = <?php echo $bundleType->getClassName(); ?>::xmlUnserialize($sourceXML);
} catch(\Exception $e) {
Expand Down Expand Up @@ -263,7 +263,7 @@ public function testFHIRValidationXML(): void

public function testFHIRValidationJSON()
{
$sourceJSON = $this->fetchResource('json');
$sourceJSON = $this->fetchResourceBundle('json');
$decoded = $this->decodeJson($sourceJSON, true);
try {
$bundle = new <?php echo $bundleType->getClassName(); ?>($decoded);
Expand Down

0 comments on commit 6b12d8c

Please sign in to comment.