diff --git a/template/versions/types/tests/validation/class.php b/template/versions/types/tests/validation/class.php index 901fc989..8b91dea8 100644 --- a/template/versions/types/tests/validation/class.php +++ b/template/versions/types/tests/validation/class.php @@ -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]; @@ -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 = getClassName(); ?>::xmlUnserialize($sourceXML); } catch(\Exception $e) { @@ -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 getClassName(); ?>($decoded);